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

Notices

Reply
 
LinkBack Search this Thread
Old 11-11-2011, 11:06 AM   #1
lord_didger
Member
 
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 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.
 
Old 11-11-2011, 11:26 AM   #2
lithos
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
 
  


Reply

Tags
apache


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
Trackbacks are Off
Pingbacks are On
Refbacks are 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 08:05 PM
Problems accessing non-encrypted websites mystic_firefae Linux - Newbie 10 10-28-2009 10:45 AM
Stalled downloads problem located, how to fix? Daedra Slackware 5 12-09-2006 12:49 PM
FC5: Problem with accessing secure connection websites on Firefiox... greatquizzard Fedora 3 09-26-2006 01:13 PM
Problem accessing subdirs from doc root on Apache server ph0ngwh0ng Linux - Newbie 4 04-24-2004 12:02 PM


All times are GMT -5. The time now is 02:39 AM.

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