You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by kengheng <ke...@mysql.cc> on 2004/01/31 03:45:50 UTC

[users@httpd] SSI not work in Apache2

Hello All,
  I'm unable to get ssl execute in .shtml. Any thing wrong in my
  setting?
  
Linux 2.4.21 Box
Apache 2.0.48
/usr/local/apache2/bin/httpd -l
Compiled in modules:
  core.c
  mod_access.c
  mod_auth.c
  mod_include.c
  mod_log_config.c
  mod_env.c
  mod_setenvif.c
  mod_ssl.c
  prefork.c
  http_core.c
  mod_mime.c
  mod_status.c
  mod_autoindex.c
  mod_asis.c
  mod_cgi.c
  mod_negotiation.c
  mod_dir.c
  mod_imap.c
  mod_actions.c
  mod_userdir.c
  mod_alias.c
  mod_so.c
  
My VirtualHost setting:
<VirtualHost *:80>
    ServerAdmin webmaster@xyz.com
    DocumentRoot /home/xyz.com
    ServerName www.xyz.com
    ErrorLog /home/xyz.com/log/www.xyz.com-error_log
    CustomLog /home/xyz.com/log/www.xyz.com-access_log common
    ScriptAlias /cgi-bin/ "/home/xyz.com/cgi-bin/"
AddType text/html .shtml
AddOutputFilter INCLUDES .shtml
Options    +Includes

    <Directory "/home/xyz.com/cgi-bin/">
        AllowOverride None
        Options None
        Order allow,deny
        Allow from all
    </Directory>
</VirtualHost>

  

-- 
Best regards,
kengheng
SQL DotCOM
http://www.mysql.cc
mailto:kengheng@mysql.cc


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


Re: [users@httpd] SSI not work in Apache2

Posted by Joshua Slive <jo...@slive.ca>.
On Sat, 31 Jan 2004, kengheng wrote:

> Hello All,
>   I'm unable to get ssl execute in .shtml. Any thing wrong in my
>   setting?

> <VirtualHost *:80>
> AddType text/html .shtml
> AddOutputFilter INCLUDES .shtml
> Options    +Includes
> </VirtualHost>

See:
http://httpd.apache.org/docs/misc/FAQ.html#options

Punchline:
You probably need something like
<Directory /home/xyz.com>
Options +Includes
</Directory>

Joshua.

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