LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 03-09-2005, 08:42 PM   #1
dickohead
Member
 
Registered: Feb 2003
Location: Melbourne, VIC, Australia
Distribution: Ubuntu 6.06
Posts: 101

Rep: Reputation: 15
Apache User_Dir problem


Hey guys,

i have user dir enabled, but when i just type in:

address/~username it send me to microsoft.com if i am accessing it locally what the hell is with that!) or it adds another http:// to the start of my address, but if i type address/~username/index.htm the file comes up fine!

here are the addresses:

http://dickinson.homelinux.net/~tim
http://dickinson.homelinux.net/~tim/index.htm

so.... does anyone know what's causing this? if need be i shall post my httpd.conf file when i get home! I'm using SuSE 8.2 and apache 1.3 if that helps at all :

Last edited by dickohead; 03-09-2005 at 08:43 PM.
 
Old 03-11-2005, 04:22 PM   #2
rnturn
Senior Member
 
Registered: Jan 2003
Location: Illinois (SW Chicago 'burbs)
Distribution: openSUSE, Raspbian, Slackware. Previous: MacOS, Red Hat, Coherent, Consensys SVR4.2, Tru64, Solaris
Posts: 2,803

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
My guess is that you're missing a piece of information in the httpd.conf file. Specifically, the the "DirectoryIndex" directive probably needs to have "index.htm" added to it.

I'm not sure where that file is stashed on your version os SuSE (on 9.2 it's under /etc/apache2).

Hope this helps...

--
Rick
 
Old 03-11-2005, 05:03 PM   #3
dickohead
Member
 
Registered: Feb 2003
Location: Melbourne, VIC, Australia
Distribution: Ubuntu 6.06
Posts: 101

Original Poster
Rep: Reputation: 15
that's exactly what i thought the problem was, but the directory index is set to (in this order):

index.php index.htm index.html

here's a link to my httpd.conf file:

httpd.conf
The above link also proves that yes public_html and userdir are enabled!

 
  


Reply



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 07:28 PM
access 403 forbidden - user_dir sigurdne Linux - Newbie 6 11-27-2004 05:55 AM
RH9: PHP session problem (or Apache problem) fengcn Red Hat 0 12-01-2003 06:32 PM
perl problem? apache problem? cgi problem? WorldBuilder Linux - Software 1 09-17-2003 07:45 PM
user_dir htaccess error YakimaLAN Linux - Software 3 09-01-2003 11:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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