Re: Apache: hide real dir structure

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



On 06/15/2010 02:13 PM, Gaurish Sharma wrote:
Hi,
On the Arch  Server running Apache. I have Control Panel  for which I
want to hide real directory name. Don't want to disclose the real
location it.

Can I display domain.com/foo1/foo2/foo3/ as subdomain(foo.domain.com)
where foo.domain.com points to -->  domain.com/foo1/foo2/foo3

If yes, then how?

Regards,
Gaurish Sharma
www.gaurishsharma.com

Read up on virtual hosts.  Configuration is basically like so:

<VirtualHost *:80>
...
    DocumentRoot /var/www/html/foo1/foo2/foo3
    ServerName foo.domain.com
...
</VirtualHost>

DR


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux