Associate
- Joined
- 16 Aug 2003
- Posts
- 221
I have setup an Amazon EC2 instance for a webserver using the Amazon Linux AMI which I think is based on CentOS.
I cannot seem to get php to run in any of the webserver subdirectories. All I get rendered in the web browser is the php contents.
php runs ok in /var/www/html/ but no sub directories under it.
I have set mod_rewrite (.htaccess) work in subdirectories by editing /etc/httpd/conf/httpd.conf and replacing AllowOverride None with AllowOverride All under <Directory "/var/www/html">
What am I doing wrong?
I cannot seem to get php to run in any of the webserver subdirectories. All I get rendered in the web browser is the php contents.
php runs ok in /var/www/html/ but no sub directories under it.
I have set mod_rewrite (.htaccess) work in subdirectories by editing /etc/httpd/conf/httpd.conf and replacing AllowOverride None with AllowOverride All under <Directory "/var/www/html">
What am I doing wrong?