Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

eZPublish .htaccess file

Status
Not open for further replies.

thedaver

IS-IT--Management
Jul 12, 2001
2,741
US
I have loaded ezPublish and it includes an .htaccess file to be included in the top folder of the webroot. I am using mod_vhost and find that I have a problem in the initial browser contact to the site...

results in a 403 error, while
results in the site running normally.

Here is the .htaccess file, I don't see the reason.

Code:
<FilesMatch ".">
order allow,deny
deny from all
</FilesMatch>

<FilesMatch "(index\.php|\.(gif|jpe?g|png|css|js|html)|var(.+)storage.pdf(.+)\.pdf)$">
order allow,deny
allow from all
</FilesMatch>

RewriteEngine On
RewriteRule !\.(gif|jpe?g|png|css|js|html)|var(.+)storage.pdf(.+)\.pdf$ index.php

DirectoryIndex index.php

All help appreciated.

Hosting Solutions for Home or Business.
 
Do you have a index.php in your DirectoryIndex of httpd.conf? if you are running apache. If not, same principle for other server applies.

~ Gary
 
Yes, absolutely. exists and runs like a champ. The trouble is that this .htaccess file has some sort of regex logic fouled up and it prevents the typical resolution of " to be translated transparently to "
I dont have a sharp enough eye to spot the problem.

Hosting Solutions for Home or Business.
 
Another thought is it could be your proxy's cache thich has not refreshed after you've made the change. try send the request from other node of the internet or i can try to access it for you from my place and see how it goes.

~ Gary
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top