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

Re: apache configuration, ssi don't work in users public_html dirs



yeah, i know.  thats already in there.	i can't really see what is wrong
with this configuration...

On Tue, 30 Jan 2001 01:29:42 -0800, Nate Amsden whispered to the router:

!!try adding something like
!! 
!! AddHandler server-parsed .shtml
!! 
!! to httpd.conf ..and be srue the files you are using includes in are in
!! html
!! files with .shtml extension ..should work ive done it tons of times.
!! 
!! nate
!! 
!! 
!! Forrest English wrote:
!! > 
!! > includes are enabled there, and this configuration file works in
apache
!! > 1.3.14 from unstable, but for some reason not in 1.3.9 from stable
(what
!! > i'd LIKE to use on my server...).
!! > 
!! > i know includes have to work in apache.  so, what am i doing wrong?
!! > 
!! > below is my httpd.conf file.
!! > 
!! > ##
!! > ## httpd.conf -- Apache HTTP server configuration file
!! > 
!! > ServerType standalone
!! > ServerRoot /etc/apache
!! > LockFile /var/lock/apache.lock
!! > PidFile /var/run/apache.pid
!! > ScoreBoardFile /var/run/apache.scoreboard
!! > Timeout 300
!! > KeepAlive On
!! > MaxKeepAliveRequests 100
!! > KeepAliveTimeout 15
!! > MinSpareServers 5
!! > MaxSpareServers 20
!! > StartServers 5
!! > MaxClients 150
!! > MaxRequestsPerChild 100
!! > 
!! > # Please keep this LoadModule: line here, it is needed for
installation.
!! > # LoadModule vhost_alias_module
/usr/lib/apache/1.3/mod_vhost_alias.so
!! > # LoadModule env_module /usr/lib/apache/1.3/mod_env.so
!! > LoadModule config_log_module /usr/lib/apache/1.3/mod_log_config.so
!! > # LoadModule mime_magic_module /usr/lib/apache/1.3/mod_mime_magic.so
!! > LoadModule mime_module /usr/lib/apache/1.3/mod_mime.so
!! > LoadModule negotiation_module /usr/lib/apache/1.3/mod_negotiation.so
!! > LoadModule status_module /usr/lib/apache/1.3/mod_status.so
!! > # LoadModule info_module /usr/lib/apache/1.3/mod_info.so
!! > LoadModule includes_module /usr/lib/apache/1.3/mod_include.so
!! > LoadModule autoindex_module /usr/lib/apache/1.3/mod_autoindex.so
!! > LoadModule dir_module /usr/lib/apache/1.3/mod_dir.so
!! > LoadModule cgi_module /usr/lib/apache/1.3/mod_cgi.so
!! > # LoadModule asis_module /usr/lib/apache/1.3/mod_asis.so
!! > # LoadModule imap_module /usr/lib/apache/1.3/mod_imap.so
!! > # LoadModule action_module /usr/lib/apache/1.3/mod_actions.so
!! > # LoadModule speling_module /usr/lib/apache/1.3/mod_speling.so
!! > LoadModule userdir_module /usr/lib/apache/1.3/mod_userdir.so
!! > LoadModule alias_module /usr/lib/apache/1.3/mod_alias.so
!! > LoadModule rewrite_module /usr/lib/apache/1.3/mod_rewrite.so
!! > LoadModule access_module /usr/lib/apache/1.3/mod_access.so
!! > LoadModule auth_module /usr/lib/apache/1.3/mod_auth.so
!! > # LoadModule anon_auth_module /usr/lib/apache/1.3/mod_auth_anon.so
!! > # LoadModule dbm_auth_module /usr/lib/apache/1.3/mod_auth_dbm.so
!! > # LoadModule db_auth_module /usr/lib/apache/1.3/mod_auth_db.so
!! > # LoadModule proxy_module /usr/lib/apache/1.3/libproxy.so
!! > # LoadModule digest_module /usr/lib/apache/1.3/mod_digest.so
!! > # LoadModule cern_meta_module /usr/lib/apache/1.3/mod_cern_meta.so
!! > LoadModule expires_module /usr/lib/apache/1.3/mod_expires.so
!! > # LoadModule headers_module /usr/lib/apache/1.3/mod_headers.so
!! > # LoadModule usertrack_module /usr/lib/apache/1.3/mod_usertrack.so
!! > LoadModule unique_id_module /usr/lib/apache/1.3/mod_unique_id.so
!! > LoadModule setenvif_module /usr/lib/apache/1.3/mod_setenvif.so
!! > # LoadModule sys_auth_module /usr/lib/apache/1.3/mod_auth_sys.so
!! > # LoadModule throttle_module /usr/lib/apache/1.3/mod_throttle.so
!! > # LoadModule allowdev_module /usr/lib/apache/1.3/mod_allowdev.so
!! > # LoadModule auth_mysql_module /usr/lib/apache/1.3/mod_auth_mysql.so
!! > # LoadModule pgsql_auth_module /usr/lib/apache/1.3/mod_auth_pgsql.so
!! > # LoadModule eaccess_module /usr/lib/apache/1.3/mod_eaccess.so
!! > # LoadModule roaming_module /usr/lib/apache/1.3/mod_roaming.so
!! > 
!! > ExtendedStatus On
!! > Port 80
!! > 
!! > User www-data
!! > Group www-data
!! > 
!! > ServerAdmin webmaster@truffula.net
!! > 
!! > ServerName truffula.net
!! > 
!! > DocumentRoot /home/httpd/html
!! > 
!! > <Directory />
!! >	 Options SymLinksIfOwnerMatch IncludesNoExec
!! >	 AllowOverride None
!! > </Directory>
!! > 
!! > <Directory /home/httpd/html>
!! >	 Options Indexes IncludesNoExec FollowSymLinks MultiViews ExecCGI
!! >	 AllowOverride None
!! >	 Order allow,deny
!! >	 Allow from all
!! > </Directory>
!! > 
!! > <IfModule mod_userdir.c>
!! >	 UserDir public_html
!! > </IfModule>
!! > 
!! > <Directory /home/*/public_html>
!! >	 AllowOverride FileInfo AuthConfig Limit
!! >	 Options MultiViews IncludesNoExec Indexes SymLinksIfOwnerMatch
!! > ExecCGI
!! >	 <Limit GET POST OPTIONS PROPFIND>
!! >	     Order allow,deny
!! >	     Allow from all
!! >	 </Limit>
!! >	 <Limit PUT DELETE PATCH PROPPATCH MKCOL COPY MOVE LOCK UNLOCK>
!! >	     Order deny,allow
!! >	     Deny from all
!! >	 </Limit>
!! > </Directory>
!! > 
!! > <IfModule mod_dir.c>
!! >	 DirectoryIndex index.html index.htm index.shtml index.cgi
!! > </IfModule>
!! > 
!! > AccessFileName .htaccess
!! > 
!! > <Files ~ "^\.ht">
!! >	 Order allow,deny
!! >	 Deny from all
!! > </Files>
!! > 
!! > UseCanonicalName On
!! > 
!! > TypesConfig /etc/mime.types
!! > 
!! > DefaultType text/plain
!! > 
!! > <IfModule mod_mime_magic.c>
!! >	 MIMEMagicFile share/magic
!! > </IfModule>
!! > 
!! > HostnameLookups Off
!! > 
!! > ErrorLog /var/log/apache/error.log
!! > 
!! > LogLevel warn
!! > 
!! > LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\"
\"%{User-Agent}i\"
!! > %T %v" full
!! > LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\"
\"%{User-Agent}i\"
!! > %P %T" debug
!! > LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\"
\"%{User-Agent}i\""
!! > combined
!! > LogFormat "%h %l %u %t \"%r\" %>s %b" common
!! > LogFormat "%{Referer}i -> %U" referer
!! > LogFormat "%{User-agent}i" agent
!! > 
!! > CustomLog /var/log/apache/access.log combined
!! > 
!! > ServerSignature On
!! > 
!! > Alias /icons/ /usr/share/apache/icons/
!! > 
!! > <Directory /usr/share/apache/icons>
!! >	 Options Indexes MultiViews
!! >	 AllowOverride None
!! >	 Order allow,deny
!! >	 Allow from all
!! > </Directory>
!! > 
!! > ScriptAlias /cgi-bin/ /home/httpd/html/cgi-bin/
!! > 
!! > <Directory /home/httpd/html/cgi-bin/>
!! >	 AllowOverride None
!! >	 Options ExecCGI
!! >	 Order allow,deny
!! >	 Allow from all
!! > </Directory>
!! > 
!! > <IfModule mod_autoindex.c>
!! > 
!! >	 IndexOptions FancyIndexing NameWidth=*
!! > 
!! >	 AddIconByEncoding (CMP,/icons/compressed.gif) x-compress x-gzip
!! > 
!! >	 AddIconByType (TXT,/icons/text.gif) text/*
!! >	 AddIconByType (IMG,/icons/image2.gif) image/*
!! >	 AddIconByType (SND,/icons/sound2.gif) audio/*
!! >	 AddIconByType (VID,/icons/movie.gif) video/*
!! > 
!! >	 AddIcon /icons/binary.gif .bin .exe
!! >	 AddIcon /icons/binhex.gif .hqx
!! >	 AddIcon /icons/tar.gif .tar
!! >	 AddIcon /icons/world2.gif .wrl .wrl.gz .vrml .vrm .iv
!! >	 AddIcon /icons/compressed.gif .Z .z .tgz .gz .zip
!! >	 AddIcon /icons/a.gif .ps .ai .eps
!! >	 AddIcon /icons/layout.gif .html .shtml .htm .pdf
!! >	 AddIcon /icons/text.gif .txt
!! >	 AddIcon /icons/c.gif .c
!! >	 AddIcon /icons/p.gif .pl .py
!! >	 AddIcon /icons/f.gif .for
!! >	 AddIcon /icons/dvi.gif .dvi
!! >	 AddIcon /icons/uuencoded.gif .uu
!! >	 AddIcon /icons/script.gif .conf .sh .shar .csh .ksh .tcl
!! >	 AddIcon /icons/tex.gif .tex
!! >	 AddIcon /icons/bomb.gif core
!! > 
!! >	 AddIcon /icons/back.gif ..
!! >	 AddIcon /icons/hand.right.gif README
!! >	 AddIcon /icons/folder.gif ^^DIRECTORY^^
!! >	 AddIcon /icons/blank.gif ^^BLANKICON^^
!! > 
!! >	 DefaultIcon /icons/unknown.gif
!! > 
!! >  FancyIndexed
!! > 
!! >	 ReadmeName README
!! >	 HeaderName HEADER
!! > 
!! >	 IndexIgnore .??* *~ *# HEADER* README* RCS CVS *,v *,t
!! > 
!! > </IfModule>
!! > 
!! > <IfModule mod_mime.c>
!! > 
!! >	 # AddEncoding allows you to have certain browsers (Mosaic/X
2.1+)
!! >	 # uncompress information on the fly. Note: Not all browsers
support
!! >	 # this.  Despite the name similarity, the following Add*
directives
!! >	 # have nothing to do with the FancyIndexing customization
!! >	 # directives above.
!! > 
!! >	 AddEncoding x-compress Z
!! >	 AddEncoding x-gzip gz tgz
!! > 
!! > 
!! > 
!! >	 AddLanguage da .dk
!! >	 AddLanguage nl .nl
!! >	 AddLanguage en .en
!! >	 AddLanguage et .ee
!! >	 AddLanguage fr .fr
!! >	 AddLanguage de .de
!! >	 AddLanguage el .el
!! >	 AddLanguage it .it
!! >	 AddLanguage ja .ja
!! > #	  AddCharset ISO-2022-JP .jis
!! >	 AddLanguage pl .po
!! > #	  AddCharset ISO-8859-2 .iso-pl
!! >	 AddLanguage pt .pt
!! >	 AddLanguage pt-br .pt-br
!! >	 AddLanguage ltz .lu
!! >	 AddLanguage ca .ca
!! >	 AddLanguage es .es
!! >	 AddLanguage sv .se
!! >	 AddLanguage cz .cz
!! > 
!! >	 <IfModule mod_negotiation.c>
!! >	     LanguagePriority en da nl et fr de el it ja pl pt pt-br ltz
ca es
!! > sv
!! >	 </IfModule>
!! > 
!! >	 AddType application/x-tar .tgz
!! >	 AddType image/bmp .bmp
!! > 
!! >	 AddType text/x-hdml .hdml
!! >	 AddHandler cgi-script .cgi .sh .pl
!! >	 AddType text/html .shtml
!! >	 AddHandler server-parsed .shtml
!! >	 AddType text/html .html
!! >	 AddHandler server-parsed .html
!! > 
!! > </IfModule>
!! > 
!! > AddDefaultCharset on
!! > 
!! > <IfModule mod_setenvif.c>
!! >	 #
!! > 
!! >	 BrowserMatch "Mozilla/2" nokeepalive
!! >	 BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0
!! > force-response-1.0
!! > 
!! >	 BrowserMatch "RealPlayer 4\.0" force-response-1.0
!! >	 BrowserMatch "Java/1\.0" force-response-1.0
!! >	 BrowserMatch "JDK/1\.0" force-response-1.0
!! > </IfModule>
!! > 
!! > <IfModule mod_perl.c>
!! >   Alias /perl/ /var/www/perl/
!! >   <Location /perl>
!! >	 SetHandler perl-script
!! >	 PerlHandler Apache::Registry
!! >	 Options +ExecCGI
!! >   </Location>
!! > </IfModule>
!! > 
!! > Alias /doc/ /usr/doc/
!! > 
!! > <Location /doc>
!! >   order deny,allow
!! >   deny from all
!! >   allow from 127.0.0.0/255.0.0.0
!! >   Options Indexes FollowSymLinks
!! > </Location>
!! > 
!! > NameVirtualHost 63.105.20.124
!! > 
!! > <VirtualHost 63.105.20.124>
!! >	 ServerAdmin webmaster@truffula.net
!! >	 DocumentRoot /home/httpd/html
!! >	 ServerName truffula.net
!! >	 ErrorLog /var/log/apache/truffula.logs
!! >	 CustomLog /var/log/apache/truffula-access.logs common
!! > </VirtualHost>
!! > 
!! > <VirtualHost 63.105.20.124>
!! >	 ServerAdmin webmaster@truffula.net
!! >	 DocumentRoot /home/httpd/html/geekjuice
!! >	 ServerName geekjuice.dhs.org
!! >	 ErrorLog /var/log/apache/geekjuice.logs
!! >	 CustomLog /var/log/apache/geekjuice-access.logs common
!! > </VirtualHost>
!! > 
!! > <VirtualHost 63.105.20.124>
!! >	 ServerAdmin aiviru@truffula.net
!! >	 DocumentRoot /home/aiviru/public_html
!! >	 ServerName scmush.pennmush.org
!! >	 ErrorLog /var/log/apache/scmush.logs
!! >	 CustomLog /var/log/apache/scmush.logs common
!! > </VirtualHost>
!! > 
!! > <VirtualHost 63.105.20.124>
!! >	 ServerAdmin admin@digifox.net
!! >	 DocumentRoot /home/kingpin/public_html
!! >	 ServerName digifox.net
!! >	 ServerAlias *.digifox.net
!! >	 ErrorLog /var/log/apache/digifox.logs
!! >	 CustomLog /var/log/apache/digifox.logs common
!! > </VirtualHost>
!! > 
!! > <VirtualHost 63.105.20.124>
!! >	 ServerAdmin admin@nwbiolog.com
!! >	 DocumentRoot /home/nwbiolog/public_html
!! >	 ServerName nwbiolog.com
!! >	 ServerAlias www.nwbiolog.com
!! >	 ErrorLog /var/log/apache/nwbiolog.logs
!! >	 CustomLog /var/log/apache/nwbiolog.logs common
!! > </VirtualHost>
!! > 
!! > --
!! > Forrest English
!! > http://truffula.net
!! > 
!! > "I don't like this air, but that doesn't
!! > mean I'm going to stop breathing."
!! > -Doug Martsch
!! > 
!! > --
!! > To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
!! > with a subject of "unsubscribe". Trouble? Contact
listmaster@lists.debian.org
!! 

-- 
Forrest English
http://truffula.net

"I don't like this air, but that doesn't
mean I'm going to stop breathing."
-Doug Martsch



Reply to: