httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Punt, Ryan" <Ryan.P...@sencore.com>
Subject [users@httpd] Vhosts and SSI
Date Tue, 07 Oct 2003 16:18:18 GMT
Ever since enabling name-based virtual hosts on my SuSE 8.2 server, I've
been unable to get server-side includes working.

Originally, the SSI-enabling directive was (obviously) contained in the body
of httpd.conf.  

I tried replicating the directive in my vhost definition, to no avail:
#########################################
<VirtualHost *>
    ServerAdmin admin@server.domain.tld
    DocumentRoot /usr/local/httpd/htdocs
    ServerName server.domain.tld
    ServerPath /server
    Options -Indexes -FollowSymLinks +IncludesNoEXEC
    AddType text/html .shtml
    AddHandler server-parsed .shtml
</VirtualHost>
#########################################

Entire Vhosts section:
#########################################
NameVirtualHost *

<VirtualHost *>
    ServerAdmin admin@server.domain.tld
    DocumentRoot /usr/local/httpd/htdocs
    ServerName server.domain.tld
    ServerPath /server
    Options -Indexes -FollowSymLinks +IncludesNoEXEC
    AddType text/html .shtml
    AddHandler server-parsed .shtml
</VirtualHost>

<VirtualHost *>
   ServerAdmin admin@server.domain.tld
   DocumentRoot /usr/local/httpd/secondsite
   ServerName server2.domain.tld
   ServerPath /server2
   ErrorLog /var/log/httpd/server2_error
   CustomLog /var/log/httpd/server2_access common
</VirtualHost>
#########################################

Apache Version 1.3.23, mod_PHP 4.1.0, mod_perl 1.26 (SuSE supplied RPMs),
patched current.

Anybody experience this before?  I've checked both Apache FAQ and Google,
but found nothing mentioning vhosts and SSI in concert.



Ryan Punt
Systems Analyst
Sencore, Inc.
T-{+1.605.339.0100 x337}
E-{ryan.punt@sencore.com}
F-{+1.605.339.0432}
M-{+1.605.321.1588} 

---------------------------------------------------------------------
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