[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-users] Re: HELP: tilde in path after URL



Message: 21
Date: Tue, 13 Jun 2000 12:03:57 +0200
From: andy de paoli <andy.de_paoli@xxxxxx>
To: cobalt-users@xxxxxxxxxxxxxxx
Subject: [cobalt-users] HELP: tilde in path after URL
Reply-To: cobalt-users@xxxxxxxxxxxxxxx

Can someone help me find a way to remove the tilde in something like
    www.domainname.com/~user

I am probably missing something really stupid, I've tried various
changes and directives but they do not seem to work  (such as:
UserDir http://www.domainename.com/*)

I have a RAQ3 and I have received a request for a domain site with
various users to be under it, unfortunately when I set it up the pages
are accessed with a tilde and the client absolutely doesn't want it.
He asked for:
   www.domainname.com/user1
   www.domainname.com/user2   etc.
instead of
    www.domainname.com/~user1
   www.domainname.com/~user2   etc.

PLEASE can someone help me,
thanks,
Andy

andy.de_paoli@xxxxxx
www.nefila.com
www.thundy.com

I made a link from /web/name pointing to /users/name/web (all pathes relativ to domain-base /home/sites/sitex/ ):

cd /home/sites/sitex/web
ln -s /home/sites/sitex/users/name/web name

To make this work you must edit /etc/httpd/conf/httpd.conf. Add the following lines to the NameVirtualHost-section of
the site:

<Directory "/home/sites/sitex/web">
Options FollowSymLinks
</Directory>

where sitex is the site you want to remove the ~ . After completing the changes you need to restart the webserver. Now users can store their files as a personal website (with their personal account, no site-admins needed) under /users/name/web and access it via www.domain.com/name.

Best regards

   Jörg






__________________________________________________________

Jörg Hüddersen

Hüddersen Schulung, Web-Design
Friedrich-Ebert-Straße 108     Telefon: (0 55 22) 91 90 06
37520 Osterode-Lerbach         Telefax: (0 55 22) 91 90 07

E-Mail: mailto:info@xxxxxxxxxxxxx
WWW: http://www.hueddersen.de
__________________________________________________________