'ello all.
I am having issues with Apache serving my index.php file as plaintext when not accessed by website.com/index.php, but when accessed via website.com/
Accessing it by website.com/index.php works fine.
Could someone please assist?
Here is my VirtualHost info for the domain, and this is the only domain doing this.
Thanks. 🙂
<VirtualHost XXX.XXX.XXX.XXX>
ServerAlias XXX.org
ServerAdmin webmaster@XXX.org
DocumentRoot /home/XXX/public_html
BytesLog domlogs/XXX.org-bytes_log
<IfModule mod_php4.c>
php_admin_value open_basedir "/home/XXX/:/usr/lib/php:/usr/local/lib/php:/tmp"
</IfModule>
<IfModule mod_php5.c>
php_admin_value open_basedir "/home/XXX/:/usr/lib/php:/usr/local/lib/php:/tmp"
</IfModule>
ServerName www.XXX.org
User XXX
Group XXX
CustomLog /usr/local/apache/domlogs/XXX.org combined
ScriptAlias /cgi-bin/ /home/XXX/public_html/cgi-bin/
</VirtualHost>
TIA!