servername/dir for servername

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

 




Dear All,

 I have a zope server running which is redicted to apache port 80. For this i have conffigured my vhost,with following:

<VirtualHost *:80>
        ServerName infosecawareeness.in
        ServerAdmin indravenik@xxxxxxx
        ServerAlias www.infosecawareeness.in
        <IfModule mod_rewrite.c>
        RewriteEngine On
        RewriteLog "/var/log/apache2/rewrite.log"
        RewriteLogLevel 10
        RewriteRule ^/(.*) http://localhost:8080/VirtualHostBase/http/infosecawareness.in:80/Plone/VirtualHostRoot/$1 [L,P]
        </IfModule>
<Proxy http://localhost:8080>
                Allow from all
        </Proxy>
                ProxyVia on
                ErrorLog /var/log/apache2/zope/error_log
                CustomLog /var/log/apache2/zope/access_log common
</VirtualHost>


Now, I want to create one more virtual host, with the server whose documentroot content should be accessed when I use, http://infosecawareeness.in/sms.

I mean
DocumentRoot /var/www/sms
ServerName http://infosecawareeness.in/sms

But setting with above, another virtualhost, it just searchs for sms page under my zope based site.

Hoe can I achieve this.

need help please,


 
Thanks & Regards,
Indraveni K,
CDAC - Hyderabad,



[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