LinuxQuestions.org
Help answer threads with 0 replies.
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 06-16-2004, 07:53 PM   #1
voyciz
Member
 
Registered: Mar 2004
Distribution: Slackware
Posts: 425

Rep: Reputation: 40
Apache: Document Not Found error


OK, I've installed Apache and PHP and they both work fine. The line to include mod_php.conf in my httpd.conf file is uncommented. DocumentRoot is /etc/apache/htdocs. I added a file called "test.php" and tried accessing it in my browser by going to "localhost/test.php" and it gives me "The requested URL /test.php was not found on this server." There were several files in the DocumentRoot folder already, so I tried another: "localhost/menu", which showed up fine. I chmod 777ed test.php just for the hell of it and restarted apache, which did no good. Anyone know what could be wrong here?
 
Old 06-17-2004, 12:49 AM   #2
voyciz
Member
 
Registered: Mar 2004
Distribution: Slackware
Posts: 425

Original Poster
Rep: Reputation: 40
Screw it, I'll download the source for them both again and try starting over again.
 
Old 06-17-2004, 03:05 AM   #3
ahimsel08
LQ Newbie
 
Registered: Jun 2004
Posts: 28

Rep: Reputation: 15
just curious... what was in the php file?
 
Old 06-17-2004, 05:51 AM   #4
voyciz
Member
 
Registered: Mar 2004
Distribution: Slackware
Posts: 425

Original Poster
Rep: Reputation: 40
"<? phpinfo(); ?>"...and I got it working
 
  


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
Apache - change document root? squall14716 Linux - Software 2 01-20-2010 11:16 AM
Apache and Firefox "Document contains no data" error. ]SK[ Linux - Software 0 08-16-2005 02:44 AM
Document Root in Apache Hal Linux - Newbie 2 10-28-2003 07:10 AM
Apache 2.0.40 and document path Drogo Linux - Software 11 06-27-2003 11:05 AM
Apache Document Root Path bowen Linux - General 8 11-29-2002 03:13 AM

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

All times are GMT -5. The time now is 06:42 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