LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 02-04-2005, 01:34 AM   #1
mephitic
Member
 
Registered: Aug 2003
Distribution: SuSE 9.0
Posts: 45

Rep: Reputation: 15
Question Apache2 trailing slash issues!


I'm running apache2 on SuSE 9.0 and I've got an annoying issue with urls. Normally on other servers if you type in www.domain.com/dir it takes you to www.domain.com/dir/index.htm ... If don't use a trailing slash (www.domain.com/dir/) I get page not found. How can fix this for ANY directory?

thanks
MePH
 
Old 02-04-2005, 03:22 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,159
Blog Entries: 1

Rep: Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021
Take a look here
Regards
 
Old 02-04-2005, 03:24 AM   #3
mephitic
Member
 
Registered: Aug 2003
Distribution: SuSE 9.0
Posts: 45

Original Poster
Rep: Reputation: 15
Thanks bathory ... Turns out I didn't have my ServerName in httpd.conf configured properly.

MePH
 
  


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 trailing slash boondock_saint Linux - General 9 07-07-2004 03:31 PM
trailing slash in Apache gives 404 errors rabbate Linux - General 6 04-30-2004 08:34 AM
Apache trailing slash puzzler tantric Linux - Software 4 04-11-2004 04:18 PM
Necessary trailing slash in apache directories silversky Linux - Software 3 03-03-2004 03:19 AM
Apache2 Trailing Slash Problem xwastedmindx Linux - Software 6 10-20-2003 08:59 PM

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

All times are GMT -5. The time now is 05:27 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
Open Source Consulting | Domain Registration