Netware Webserver - Removing the tilde from //server/~username

This is Interesting: Free IT Magazines  
Home > Archive > Netware Webserver > May 2005 > Removing the tilde from //server/~username





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Removing the tilde from //server/~username
Bill Kaupe

2005-05-14, 1:02 pm

Running NW65SP3

The default home directory web page setup is working fine.
//server.ithaca.edu/~suziestudent

I have been asked if I can remove the tilde from the URL pointing to
user home pages.

Can I just add this to httpd.conf?

<VirtualHost no-tilde>
DocumentRoot //studentserver/volume/suziestudent/public_html
ServerName suziestudent.ithaca.edu
</VirtualHost>

I know the DocumentRoot path is bogus - what should it be?
It's on another NW server.

Thanks,
Bill
Doug Deitterick

2005-05-16, 5:45 pm

Bill,

All you need to do is add the following to your conf file:

AliasMatch /([a-zA-Z0-9]+)(.*) "DATA:/STUDENT/HOME/$1/public_html$2"

and replace DATA:/STUDENT/HOME with the path to the users home directory.

--
Doug Deitterick
CNA
Systems Administrator
Pennsylvania college of Technology
One college Avenue
Williamsport, PA 17701
ddeitter@pct.edu


"Bill Kaupe" <bkaupe@ithaca.edu> wrote in message
news:iFahe.935$MR6.807@prv-forum2.provo.novell.com...
> Running NW65SP3
>
> The default home directory web page setup is working fine.
> //server.ithaca.edu/~suziestudent
>
> I have been asked if I can remove the tilde from the URL pointing to user
> home pages.
>
> Can I just add this to httpd.conf?
>
> <VirtualHost no-tilde>
> DocumentRoot //studentserver/volume/suziestudent/public_html
> ServerName suziestudent.ithaca.edu
> </VirtualHost>
>
> I know the DocumentRoot path is bogus - what should it be?
> It's on another NW server.
>
> Thanks,
> Bill



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com