Actually I just placed this into my conf.d httpd config file for the individual
domain in question, as per the .htaccess file instructions i posted earlier,
and I got the below error on httpd restart:
Starting httpd: Syntax error on line 41 of /etc/httpd/conf.d/mydomain.com.conf:
deny not allowed here
[FAILED]
This is what I put in conf.d:
<Directory "/home/webspace/www/catalog/includes/">
AllowOverride Limit Options Indexes
</Directory>
<Directory "/home/webspace/www/catalog/zc_install/">
AllowOverride Limit Options Indexes
</Directory>
deny *everything*
<FilesMatch ".*">
Order Allow,Deny
Deny from all
</FilesMatch>
<FilesMatch ".*\.(js|JS|css|CSS|jpg|JPG|gif|GIF|png|PNG|swf|SWF)$">
Order Allow,Deny
Allow from all
</FilesMatch>
IndexIgnore */*
DirectoryIndex index.php
<FilesMatch ".*\..*">
Order Allow,Deny
Deny from all
</FilesMatch>
<FilesMatch "(^$|^favicon.ico$|.*\.(php|js|css|jpg|gif|png|html)$)">
Order Allow,Deny
Allow from all
</FilesMatch>
IndexIgnore */*
--- On Fri, 9/3/10, Marcin 'Rambo' Roguski <[email protected]> wrote:
> From: Marcin 'Rambo' Roguski <[email protected]>
> Subject: Re: [us...@httpd] 500 internal server error running php application
> To: [email protected]
> Date: Friday, September 3, 2010, 12:46 PM
> On Fri, 3 Sep 2010 09:26:52 -0700
> (PDT)
> J Wilson <[email protected]>
> wrote:
>
> > Actually the .htaccess files are ok I think, they are
> provided with Zen
> > cart, what I need to do is follow instructions in
> their .htaccess files
> > to set up apache for this particular domain.
>
> What about AllowOverride for the oparticular host/location?
> if it's set to None
> Most of .htaccess directives will generate 500.
>
> --
> Elliptic paraboloids for sale.
>
> ---------------------------------------------------------------------
> 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: [email protected]
> " from the digest: [email protected]
> For additional commands, e-mail: [email protected]
>
>
---------------------------------------------------------------------
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: [email protected]
" from the digest: [email protected]
For additional commands, e-mail: [email protected]