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

RE: [cobalt-users] Default User Webpage - Working!



Interestingly enough, I just realised that when I set the AliasMatch to have
no tilde I cannot access the virtual site master page
(/home/sites/site1/web/index.html)! Going to www.hostname.com just gives me
a list of the files in that directory (index.html, parent directory). If I
click on index.html, it will not load it (page not found). By changing the
AliasMatch I have obviously changed something else! I think that is why we
make backups...

-----Original Message-----
From: Smith, Martin 
Sent: Thursday, August 01, 2002 5:07 PM
To: 'cobalt-users@xxxxxxxxxxxxxxx'
Subject: [cobalt-users] Default User Webpage - Working!


I needed to add the following line to my httpd.conf:

AliasMatch ^/([^/]+)(/(.*))? /home/sites/site1/users/$1/web/$3

I can now access users webpages from either www.domainname.com/username or
www.domainname.com/~username - The Marketing department will be happy :)

Thanks to Gerald for the pointers :)

-----Original Message-----
From: Smith, Martin 
Sent: 01 August 2002 14:06
To: 'cobalt-users@xxxxxxxxxxxxxxx'
Subject: RE: [cobalt-users] Default User Webpage

I've been trying to get this working for a while but haven't had any
success:

1. www.domainname.com/~username1 works okay.
2. www.domainname.com/users/username1 doesn't work and doesn't seem to be
the same as link 1.

I tried a few combinations of creating symbolic links from /home/sites/site1
to my user (/home/sites/site1/users/username1), including linking to the sub
directory "web", but none seem to work.

Where am I going wrong?!?

-----Original Message-----
From: Dan Kriwitsky [mailto:list1@xxxxxxxxxxxxxxxxxxxx]
Sent: 25 July 2002 08:34
To: cobalt-users@xxxxxxxxxxxxxxx
Subject: RE: [cobalt-users] Default User Webpage

> Does anyone know how to change the default webpage of a user
> created on a RAQ4 from www.domain.com/~username1 to
www.domain.com/username1. (i.e. I want to drop the tilde). I have
searched around in vain for this - I can't see the parameter in
httpd.conf or srm.conf (which is where I would expect it).


www.domain.com/username1 would need to be under the main /web directory.
Right now, www.domain.com/~username1 is really
www.domain.com/users/username1

I recall there were some posts in the archives about symlinks and user
directories so that you link /web/users/username1 to /web/username1 or
then you can even name the /web/username1 directory to something more
normal and not need to expose your usernames that way.
http://list.cobalt.com/pipermail/cobalt-users/2001-January/033146.html I
found pretty quickly searching symlink user directory web
--
Dan Kriwitsky

Please reply to the list only. Offlist replies are not read.


_____________________________________
cobalt-users mailing list
cobalt-users@xxxxxxxxxxxxxxx
To subscribe/unsubscribe, or to SEARCH THE ARCHIVES, go to:
http://list.cobalt.com/mailman/listinfo/cobalt-users

_____________________________________
cobalt-users mailing list
cobalt-users@xxxxxxxxxxxxxxx
To subscribe/unsubscribe, or to SEARCH THE ARCHIVES, go to:
http://list.cobalt.com/mailman/listinfo/cobalt-users

_____________________________________
cobalt-users mailing list
cobalt-users@xxxxxxxxxxxxxxx
To subscribe/unsubscribe, or to SEARCH THE ARCHIVES, go to:
http://list.cobalt.com/mailman/listinfo/cobalt-users