New answers tagged apache-2.2
0
votes
How to share apache /var/www using samba server in ubuntu
With this solution, Apache/Nginx/PHP/etc. will still have operational write access as www-data to /var/www, while a developer has write access with his user account below /var/www:
Add the developers/...
0
votes
Apache slow at responding
It may stem from mysql connection too.
Yo can control it by taking connection string to top of your php page and add return false before connection string then test it i wheather it is ok or not .
If ...
1
vote
How to use Apache2 as a reverse proxy in Ant Media?
here are the instruction for how to use Apache as reverse proxy.
Enable the modules:
a2enmod proxy proxy_http proxy_wstunnel
Edit /etc/apache2/sites-enabled/ams.conf file
<VirtualHost *:443&...
2
votes
Prevent PHP from reading own source files
While there are lots of ways to restrict file access via the operating system, none of these can differentiate between PHP scripts run by the same executable process, by the same user, in the same ...
1
vote
Prevent PHP from reading own source files
Obviously the apache-user must be able to read both files to work, but can you prevent using something like file_get_contents('secret.php') to get the source code?
No. On UNIX-alike systems (like ...
Top 50 recent answers are included
Related Tags
apache-2.2 × 17288php × 1926
linux × 1669
virtualhost × 1475
mod-rewrite × 1205
ubuntu × 1150
.htaccess × 1102
ssl × 1023
centos × 804
nginx × 724
httpd × 611
web-server × 545
reverse-proxy × 525
mysql × 468
redirect × 468
tomcat × 446
security × 433
debian × 420
mod-proxy × 406
rewrite × 393
httpd.conf × 368
apache-2.4 × 360
proxy × 360
logging × 360
configuration × 343