URL path Problem.

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

 



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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux