LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-28-2002, 09:02 PM   #1
joetec
LQ Newbie
 
Registered: Apr 2002
Location: ky
Posts: 5

Rep: Reputation: 0
apache problem


I am having a problem that I think has to do with apache.

When i go to mysite.com/directory i get a page not found error but if i go to mysite.com/directory/ it works.

How do I make the mysite.com/directory work the same as mysite.com/directory/

thanks

 
Old 04-28-2002, 11:14 PM   #2
hanzerik
Member
 
Registered: Jan 2002
Location: Cheyenne Wyoming
Distribution: Debian/Raspbian/Mint
Posts: 717

Rep: Reputation: 32
do you have an index.html in your document root directory? ie: /var/www/html/index.html

read your post wrong, sry

www.mysite.com/directory would be telling apache to look for a file named directory, www.mysite.com/directory/ is telling apache you want the index file in a directory name directory.

Last edited by hanzerik; 04-28-2002 at 11:17 PM.
 
Old 04-29-2002, 03:35 PM   #3
kodiakmook
Member
 
Registered: Nov 2001
Location: Ohio
Distribution: Redhat 7.3, Mandrake 8.1
Posts: 43

Rep: Reputation: 15
there's an FAQ describing this problem at apache.org

http://httpd.apache.org/docs/misc/FA...set-servername
 
Old 04-29-2002, 05:01 PM   #4
joetec
LQ Newbie
 
Registered: Apr 2002
Location: ky
Posts: 5

Original Poster
Rep: Reputation: 0
Ok i think I know what I need to do now but where is the apache config file usally located?

Thanks
 
Old 04-29-2002, 09:53 PM   #5
hanzerik
Member
 
Registered: Jan 2002
Location: Cheyenne Wyoming
Distribution: Debian/Raspbian/Mint
Posts: 717

Rep: Reputation: 32
/etc/httpd/conf/httpd.conf
/etc/apache/conf/httpd.conf
Default slackware: /etc/apache/httpd.conf

someplace like that. It will be named httpd.conf
find / -name httpd.conf
 
  


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
Strange apache trailing / problem - Slack-current, apache 1.3.33 vamp Linux - Networking 1 01-30-2005 08:28 PM
problem with apache 1.3.27 czarherr Linux - Software 2 01-10-2004 12:38 PM
RH9: PHP session problem (or Apache problem) fengcn Red Hat 0 12-01-2003 07:32 PM
perl problem? apache problem? cgi problem? WorldBuilder Linux - Software 1 09-17-2003 08:45 PM
apache benchmarks (apache v13 / apache v20) ; large differences between benchmarking markus1982 Linux - Software 0 02-08-2003 11:53 AM


All times are GMT -5. The time now is 11:56 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration