You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Michael Thompson <mi...@thompsonmike.co.uk> on 2003/10/18 20:53:33 UTC

[users@httpd] Forgive a Newbie :(

Hi Users,



  This is such an st00pid question!

  I have set up my apache server to enable the users to have their own
  directorys for their content. However when they go to a incomplete
  path such as http://whatever/~user1/ they get a permission denied
  error. They need to enter the full path such as
  http://whatever/~user1/index.htm it is fine.

  How can I get apache to serve files such as index.htm etc to the
  default web address?
  


-- 

Best regards,
 Michael (mike@thompsonmike.co.uk)
   
If only there were some indication the universe was doing it on purpose. 

http://www.thompsonmike.co.uk/
PGP KeyID := 0xA9547E32

'To see a world in a grain of sand
And heaven in a wild flower
To hold infinity in the palm of your hand
And eternity in an hour'

Using TheBat! Version 2.00.6
Running On Windows XP (2600, Service Pack 1)
Sent From OneAndOne


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Forgive a Newbie :(

Posted by Bill Moran <wm...@potentialtech.com>.
Michael Thompson wrote:
> Hi Users,
> 
>   This is such an st00pid question!
> 
>   I have set up my apache server to enable the users to have their own
>   directorys for their content. However when they go to a incomplete
>   path such as http://whatever/~user1/ they get a permission denied
>   error. They need to enter the full path such as
>   http://whatever/~user1/index.htm it is fine.
> 
>   How can I get apache to serve files such as index.htm etc to the
>   default web address?

Look at DirectoryIndex in you httpd.conf file.

-- 
Bill Moran
Potential Technologies
http://www.potentialtech.com


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re[2]: [users@httpd] Forgive a Newbie :(

Posted by Michael Thompson <mi...@thompsonmike.co.uk>.
Hello Willem-Jan,


On Sat, 18 Oct 2003, at 21:50:09 [GMT +0200] (which was 20:50 in my
TimeZone) you wrote:




> Michael Thompson <ma...@thompsonmike.co.uk> schreef op zaterdag 18
> oktober 2003 20:54:

>> Hi Users,
>> 
>> 
>> 
>>   This is such an st00pid question!
>> 
>>   I have set up my apache server to enable the users to have their own
>>   directorys for their content. However when they go to a incomplete
>>   path such as http://whatever/~user1/ they get a permission denied
>>   error. They need to enter the full path such as
>>   http://whatever/~user1/index.htm it is fine.
>> 
>>   How can I get apache to serve files such as index.htm etc to the
>>   default web address?

> Did you set the DirectoryIndex ? You can add here as much as docnames as you
> want to be opened as index. When there isn't a file with a name listed in
> DirectoryIndex you will get the error message.

> -WJ




doh. My bad. Apologies! Thanks for the shove in the right
direction....

-- 
Best regards,
 Michael

http://www.thompsonmike.co.uk/
PGP KeyID := 0xA9547E32
  

Driving People Insane: 
 Send e-mail to the rest of the company to tell them what you're doing. 
  For example: If anyone needs me, I'll be in the bathroom.


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


RE: [users@httpd] Forgive a Newbie :(

Posted by Willem-Jan Meijer <me...@chello.nl>.
Michael Thompson <ma...@thompsonmike.co.uk> schreef op zaterdag 18
oktober 2003 20:54:

> Hi Users,
> 
> 
> 
>   This is such an st00pid question!
> 
>   I have set up my apache server to enable the users to have their own
>   directorys for their content. However when they go to a incomplete
>   path such as http://whatever/~user1/ they get a permission denied
>   error. They need to enter the full path such as
>   http://whatever/~user1/index.htm it is fine.
> 
>   How can I get apache to serve files such as index.htm etc to the
>   default web address?

Did you set the DirectoryIndex ? You can add here as much as docnames as you
want to be opened as index. When there isn't a file with a name listed in
DirectoryIndex you will get the error message.

-WJ


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org