httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vincent Blondel <vinc...@xtra-net.org>
Subject [users@httpd] URL path Problem.
Date Tue, 20 Feb 2007 15:55:25 GMT
Hello all,

I get a website directly defined in an URL like http://host1/*. This
site includes all kind of directories, files, images etc but also some
aliases like ( /awstats, ... ).

This is working fine.

Now I would like to map this site exactly as the same way but in another
URL like http://host2/~User1/.  I noticed we can define some of UserDir
directives but it seems my aliases are then broken.

My idea was to define all like this :

site.conf
[website definition with all aliases , directories, ...]

httpd.conf
<virtualHost>
  ServerName Host1
  Include site.conf
</virtualHost>

<virtualHost>
  ServerName Host2
  <IfModule mod_userdir.c>
    Include site.conf
  </IfModule>
</virtualHost>

Thanks to give me your help, mind, experience with such kind of
configuration.

Regards
Vincent.



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message