Author Topic

P G

Wednesday 12 July 2006 9:31:34 am

Comment7851

Have changed it to this, but still the same problem

# Copy this file to a new file called .htaccess in your Exponential root
# to make the site more secure in non-virtualhost mode (index.php used in urls).
#

php_value allow_call_time_pass_reference 0

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

# If you see "Forbidden" when trying to access root page of your site
# without 'index.php' appended, uncomment the following "Files" section.
# NOTE: replace "Exponential-3.6.0" with base name of the directory
# where your Exponential intallation resides.
# e.g. base name of "/sites/Exponential/Exponential-3.6.0" is "Exponential-3.6.0".

#<Files "chapters_events">
# order allow,deny
# allow from all
#</Files>

RewriteEngine On RewriteRule !\.(gif|jpe?g|png|css|js|jar|html)|var(.+)storage.pdf(.+)\.pdf?$ - [C] RewriteCond %{HTTP_HOST} ^webdav\..* RewriteRule ^(.*)

webdav.php [L] RewriteCond %{HTTP_HOST} ^soap\..* RewriteRule ^(.*) soap.php [L] RewriteRule ^var/cache/debug.html.* - [L] RewriteRule

^var/[^/]+/cache/debug.html.* - [L] Rewriterule ^var/storage/.* - [L] Rewriterule ^var/[^/]+/storage/.* - [L] RewriteRule ^var/cache/texttoimage/.* - [L] RewriteRule

^var/[^/]+/cache/texttoimage/.* - [L] Rewriterule ^design/[^/]+/(stylesheets|images|javascript)/.* - [L] Rewriterule ^share/icons/.* - [L] Rewriterule

^extension/[^/]+/design/[^/]+/(stylesheets|images|javascripts?)/.* - [L] Rewriterule ^packages/styles/.+/(stylesheets|images|javascript)/[^/]+/.* - [L] RewriteRule .*

index.php [L]