LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-22-2008, 05:01 AM   #1
KrazyKanuk
Member
 
Registered: Sep 2007
Location: St. Catharines, Ontario
Distribution: Slackware 15/64 bit
Posts: 139

Rep: Reputation: 15
Apache/PHP CMS (Drupal) problem


I am having trouble with my Apache (2.2.10 compiled from source) PHP (5.2.6 compiled from source) and Drupal (6.6 also compiled from source) working together on a Debian 4 computer, and I am not sure which one is the culprit (I am leaning towards Apache). I have Apache set up with a virtualhost so that I can work remotely and check out if things are working. If I try and load http://192.168.1.13/ it works fine, but if I load http://192.168.1.13/scripts/ I get a page not found error even though there is a index.php file in the directory but if I load http://192.168.1.13/scripts/index.php it works fine. I do have AddType and AddHandler in the httpd.conf file for php and phps not sure how to set it so it works from a sub directory. Any help on this will be greatly appreciated.
 
Old 11-23-2008, 03:59 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,214
Blog Entries: 1

Rep: Reputation: 2067Reputation: 2067Reputation: 2067Reputation: 2067Reputation: 2067Reputation: 2067Reputation: 2067Reputation: 2067Reputation: 2067Reputation: 2067Reputation: 2067
You have to add index.php in the "DirectoryIndex" directive
 
  


Reply


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
LXer: Drupal Revealed as 2008 Open Source CMS Award Winner LXer Syndicated Linux News 0 11-01-2008 02:12 AM
LXer: Do-it-all CMS Drupal LXer Syndicated Linux News 0 03-22-2007 05:01 PM
Apache... CMS ...PHP gabsik Linux - Networking 1 05-24-2006 03:05 AM
LXer: Drupal 4.7: Next-generation CMS LXer Syndicated Linux News 0 05-23-2006 01:03 AM
Drupal Apache Config problem - incorrect URLS TippExed Linux - Software 0 06-02-2005 07:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration