You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Marty Landman <ml...@face2interface.com> on 2006/01/24 03:30:00 UTC
[users@httpd] SSI won't run unless .htaccess in sub-dir
Stymied here. Have the following VH configured:
<VirtualHost *>
ServerName bening1
User dad
Group dad
DocumentRoot /mnt/web/guide/bening1/www
DirectoryIndex index.html index.htm index.shtml index.shtm index.cgi
<Directory "/mnt/web/guide/bening1/www">
Options Indexes FollowSymLinks
Options +Includes +ExecCGI
AllowOverride All
Options None
Order allow,deny
Allow from all
</Directory>
ScriptAlias /cgibin/ "/mnt/web/guide/bening1/cgibin/"
ScriptAlias /cgi-bin/ "/mnt/web/guide/bening1/cgibin/"
<Directory "/mnt/web/guide/bening1/cgibin">
AllowOverride All
Options Indexes FollowSymLinks
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
There are two sub-dirs of www - LoanDept and Application. Each has an
index.shtml in it. After adding .htaccess to LoanDept to provide id/pw
access for that sub-dir I find that Application/index.shtml won't run i.e.
the browser renders the SSI directive instead of executing it. Once I copy
LoanDept/.htaccess to Application/.htaccess then Application/index.shtml works.
Yikes, gotta be something stupid I did, but what?
Marty
Marty Landman, Face 2 Interface Inc. 845-679-9387
Webmaster's Bulletin Board: http://bbs.face2interface.com/
Web Installed Formmail: http://face2interface.com/formINSTal
---------------------------------------------------------------------
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 won't run unless .htaccess in sub-dir
Posted by Marty Landman <ml...@face2interface.com>.
At 10:50 AM 1/24/2006, Eric Covener wrote:
>On 1/23/06, Marty Landman <ml...@face2interface.com> wrote:
> > Stymied here. Have the following VH configured:
> >
> > <VirtualHost *>
> > <Directory "/mnt/web/guide/bening1/www">
> > Options Indexes FollowSymLinks
> > Options +Includes +ExecCGI
>
>Is it kosher to have two Options lines?
>Is it kosher to mix +/- and non +/- Options parameters when you split
>it on two lines?
>
>(Mixing +/- and non +/- is unpredictable result on a single line)
I'm learning is that my own ignorance is quite dangerous.
After a little more doc reading and changing things around have gotten
things working properly with this config
<Directory "/mnt/web/guide/bening1/www">
Options +Includes
AllowOverride All
Order allow,deny
Allow from all
</Directory>
Your remark about unpredictability seemed on target Eric. Wanted to post
the error log messages saw yesterday in reply to Owen's posting and wasn't
getting anything now! So changed approach to stripping everything
unnecessary out of the conf and that seems to have done it.
Marty
Marty Landman, Face 2 Interface Inc. 845-679-9387
Webmaster's Bulletin Board: http://bbs.face2interface.com/
Web Installed Formmail: http://face2interface.com/formINSTal
---------------------------------------------------------------------
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 won't run unless .htaccess in sub-dir
Posted by Eric Covener <co...@gmail.com>.
On 1/23/06, Marty Landman <ml...@face2interface.com> wrote:
> Stymied here. Have the following VH configured:
>
> <VirtualHost *>
> <Directory "/mnt/web/guide/bening1/www">
> Options Indexes FollowSymLinks
> Options +Includes +ExecCGI
Is it kosher to have two Options lines?
Is it kosher to mix +/- and non +/- Options parameters when you split
it on two lines?
(Mixing +/- and non +/- is unpredictable result on a single line)
--
Eric Covener
covener@gmail.com
---------------------------------------------------------------------
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