LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (http://www.linuxquestions.org/questions/debian-26/)
-   -   problem with accessing websites located in subdirs (http://www.linuxquestions.org/questions/debian-26/problem-with-accessing-websites-located-in-subdirs-913036/)

lord_didger 11-11-2011 11:06 AM

problem with accessing websites located in subdirs
 
I am not familiar with apache config files. I used to install one on my debian with simple configuration: change the DocumentRoot. Now I have a problem. I can't access subdirectories located within DocumentRoot. Moreover, when I enter localhost/index.php with, my browser offer me to download the file.

However, I can see index.php is executed when I enter localhost in my browser.

My apache2 is 2.2.21-2 and libapache2-mod-php5 is 5.3.8.0-1.

What should I change in order to get it work as expected or could you redirect me to a site where I can find answer (a manual or whatever). I have not studied apache config syntax and I am not so willing to. Just looking for the answer.

lithos 11-11-2011 11:26 AM

At least some manuals you will have to take a look at:
- installing PHP on Apache 2
or similar on google


All times are GMT -5. The time now is 09:18 PM.