Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Debian This forum is for the discussion of Debian Linux.


  Search this Thread
Old 11-11-2011, 12:06 PM   #1
Registered: Jun 2005
Location: Poland
Distribution: Debian
Posts: 106

Rep: Reputation: 15
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

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.
Old 11-11-2011, 12:26 PM   #2
Senior Member
Registered: Jan 2010
Location: SI : 45.9531, 15.4894
Distribution: CentOS, OpenNA/Trustix, testing desktop openSuse 12.1 /Cinnamon/KDE4.8
Posts: 1,144

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



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem installing ndiswrapper as the kernel version cannot be located. doublemac Linux - Newbie 6 01-12-2011 09:05 PM
Problems accessing non-encrypted websites mystic_firefae Linux - Newbie 10 10-28-2009 11:45 AM
Stalled downloads problem located, how to fix? Daedra Slackware 5 12-09-2006 01:49 PM
FC5: Problem with accessing secure connection websites on Firefiox... greatquizzard Fedora 3 09-26-2006 02:13 PM
Problem accessing subdirs from doc root on Apache server ph0ngwh0ng Linux - Newbie 4 04-24-2004 01:02 PM

All times are GMT -5. The time now is 02:07 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration