Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

moving web directories

Status
Not open for further replies.
Apr 16, 2002
65
US
Hello all.

I am trying to moving directories such that when someone types host.domain.com/dir they will get bounced there.

I was able to do it when i had the directories in the default web directory, but i am now trying to move them to

/home/dirname

using alias as:

/brian /home/brian

I also have tried to set a directive in httpd.conf as:

<Directory &quot;/home/&quot;>
AllowOverride None
Options None
Order allow,deny
Allow from all
</Directory>

Any help would be appreciated.

J
 
ok, I have been reading more and I believe it has something to do with the user apache is running under, being able to read the files.

J
 
Have you checked out the UserDir directive? It does almost the thing you want to accomplish, though the URI would be /~username. And the files would have to reside in a subdirectory of the users home directory. But, this directive does all of this by itself, so you wouldn't have to setup a directory container for each user, nor an alias. //Daniel
 
Thanks, I'll check it out.

I actually was just coming back to post that I fixed it.

The subdirectories did not have the proper read ablities for others.

J
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top