problem with my .htaccess file
Posted: Thu Jul 06, 2006 1:57 pm
while installing ezPublish if found this result.
**************************************
php_magicquotes - Failure
zlib_extension - Success
mbstring_extension - Success
imagegd_extension - Success
imagemagick_program - Success
database_all_extensions - Failure
php_register_globals - Failure
texttoimage_functions - Success
***************************************
I tried to fix it using .htaccess file and here is my solution which is not working.
php_magicquotes on
database_all_extensions on
php_register_globals on
------------------------------
so final .htaccess file is like this :
any help???
thanks in advance.
**************************************
php_magicquotes - Failure
zlib_extension - Success
mbstring_extension - Success
imagegd_extension - Success
imagemagick_program - Success
database_all_extensions - Failure
php_register_globals - Failure
texttoimage_functions - Success
***************************************
I tried to fix it using .htaccess file and here is my solution which is not working.
php_magicquotes on
database_all_extensions on
php_register_globals on
------------------------------
so final .htaccess file is like this :
Code: Select all
# Copy this file to a new file called .htaccess in your eZ publish 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 "ezpublish-3.6.0" with base name of the directory
# where your eZ publish intallation resides.
# e.g. base name of "/sites/ezpublish/ezpublish-3.6.0" is "ezpublish-3.6.0".
#<Files "ezpublish-3.6.0">
# order allow,deny
# allow from all
#</Files>
RewriteEngine On
RewriteRule !\.(gif|jpe?g|png|css|js|html)|var(.+)storage.pdf(.+)\.pdf$ index.php
DirectoryIndex index.php
php_magicquotes on
database_all_extensions on
php_register_globals onany help???
thanks in advance.