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: |
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. |
there's an FAQ describing this problem at apache.org
http://httpd.apache.org/docs/misc/FA...set-servername |
Ok i think I know what I need to do now but where is the apache config file usally located?
Thanks :Pengy: |
/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. |