LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 04-04-2004, 09:53 PM   #1
Longinus
Member
 
Registered: Sep 2003
Distribution: Redhat 9.0 && Slackware 9.1
Posts: 420

Rep: Reputation: 30
apache directory


hi

when someone wants to enter a directory on my apache server if they type:


http://myapacheserver.com/directory


they cant acces the directory and get a connection refused error

but if they type

http://myapacheserver.com/directory/

they can access it

the / at the end of directory makes it work

how can i configure apache so it works when

http://myapacheserver.com/directory

is typed without the / at the very end

thanks guys
 
Old 04-05-2004, 02:26 AM   #2
Cerbere
Member
 
Registered: Dec 2002
Location: California
Distribution: Slackware & LFS
Posts: 799

Rep: Reputation: 33
Not sure which version of apache you're using (1.3 or 2.0), but go to the apache website and click on the documentation for the version you use, then click on 'URL Rewriting Guide'. Then search the page for 'trailing slash'.

[edit] Or you can search for 'apache trailing slash' (no quotes) here in the forum, since this question gets asked about once a week. [/edit]

Enjoy!
--- Cerbere

Last edited by Cerbere; 04-05-2004 at 02:39 AM.
 
Old 04-05-2004, 06:37 AM   #3
bigearsbilly
Senior Member
 
Registered: Mar 2004
Location: england
Distribution: Mint, Armbian, NetBSD, Puppy, Raspbian
Posts: 3,516

Rep: Reputation: 240Reputation: 240Reputation: 240
You'll (probably) find your apache manual, on your server here:

It's something to do with your 'UserDir' directive i think.
 
  


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 Directory Listing Of NFS Mount, cannot view directory list via apache luqmana Linux - Networking 2 12-19-2005 07:03 AM
Apache Directory 2782d4 Linux - Software 3 10-12-2005 04:33 PM
apache - directory listing thejackal13 Linux - Software 1 01-05-2005 11:31 AM
apache list directory linuxtesting2 Linux - Networking 5 09-24-2004 04:46 PM
Apache directory... Z28kid Linux - Newbie 9 02-17-2003 06:12 PM

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

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