question about apache2
Hello im a newbie but im getting hang of linux little by little.
Im running Suse 10.1 Apache2 php server..... What im trying to do is i have a domain pointed to one of the /home/user/public_html folder....what i want to do is i want to point /home/another_user/public_html under the same domain name so my outcome would be http://www.mydomain.com/another_user.... Can someone help me out???? thanx in advance.... |
Typically you just save an index.html in /home/another_user/public_html and then do www.mydomain.com/~another_user (notice the ~). Sometimes this needs to be enabled in one of the apache config files. I don't use Suse, so I'm not sure where that lives. In Debian it's in the /etc/apache2 directory...
|
how do i enable that????
my apace is int same path /etc/apache2/ |
In my apache2.conf file there's a section that says
Code:
#UserDir is now a module Also, in Debian, the way to make sure this is being loaded is to put a symlink in /etc/apache2/mods-enabled for files userdir.conf and userdir.load. The actual files are in /etc/apache2/mods-available. So you would cd /etc/apache2/mods-enabled and then ln -s /etc/apache2/mods-available/userdir.load userdir.load and the same for userdir.conf. They might already be there... |
hey thanx alot that worked...
:) |
All times are GMT -5. The time now is 01:05 AM. |