LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   apache problem (https://www.linuxquestions.org/questions/linux-newbie-8/apache-problem-19698/)

joetec 04-28-2002 08:02 PM

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

:Pengy:

hanzerik 04-28-2002 10:14 PM

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.

kodiakmook 04-29-2002 02:35 PM

there's an FAQ describing this problem at apache.org

http://httpd.apache.org/docs/misc/FA...set-servername

joetec 04-29-2002 04:01 PM

Ok i think I know what I need to do now but where is the apache config file usally located?

Thanks
:Pengy:

hanzerik 04-29-2002 08:53 PM

/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


All times are GMT -5. The time now is 10:18 PM.