Top "Apache" questions

Use this tag (along with an appropriate programming-language tag) for programming questions relating to the Apache HTTP Server.

PHP $_SERVER['HTTP_HOST'] vs. $_SERVER['SERVER_NAME'], am I understanding the man pages correctly?

I did a lot of searching and also read the PHP $_SERVER docs. Do I have this right regarding which …

php apache security owasp
How do you redirect HTTPS to HTTP?

How do you redirect HTTPS to HTTP?. That is, the opposite of what (seemingly) everyone teaches. I have a server …

apache ssl redirect https
500 Internal Server Error for php file not for html

My site having 4-5 static pages only. index.html & index.php both are there. index.html is working fine. …

php html apache internal-server-error
index.php not loading by default

I have just installed CentOS, Apache and PHP. When I visit my site http://example.com/myapp/, it says "forbidden". …

php apache centos apache-config
.htaccess: Invalid command 'RewriteEngine', perhaps misspelled or defined by a module not included in the server configuration

I have this error when trying to browse php files locally [Fri Apr 13 19:16:40 2012] [alert] [client 127.0.0.1] C:/AppServ/www/hr-website/.htaccess: …

apache .htaccess
How do I disable directory browsing?

I want to disable directory browsing of /galerias folder and all subdirectories Index of /galerias/409 * Parent Directory * i1269372986681.jpg * i1269372986682.…

apache .htaccess
How do I change the default index page in Apache?

I would like to change the default web page that shows up when I browse my site. I currently have …

html apache indexing default
How to enable local network users to access my WAMP sites?

First of all, I read at least 20 articles about this topic, and not one of them can match up the …

apache localhost wamp wampserver lan
How to set up file permissions for Laravel?

I'm using Apache Web Server that has the owner set to _www:_www. I never know what is the best …

php apache laravel laravel-5 file-permissions
Do I need to convert .CER to .CRT for Apache SSL certificates? If so, how?

I need to setup an Apache 2 server with SSL. I have my *.key file, but all the documentation I've found …

apache ssl