web hosting line
1.866.605.2484

Web hosting

Go Back   Web Hosting Forum - Web hosting discussion at SiteGround.com > Popular Software > Other Software and Applications

Reply
 
Thread Tools Display Modes
  #1  
Old 05-09-2006, 05:12 AM
munti munti is offline
Junior Member
 
Join Date: May 2006
Posts: 2
Default Problems installing eZ publish and .htaccess

Hi

I'm trying to add some lines to the .htaccess file on my root folder.

The only line I can place is:
----------------------------------------------------
RewriteEngine On
----------------------------------------------------

Anything else and I get an 500 Internal Server Error:
----------------------------------------------------
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, root@cpanel.ev1servers.net and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
----------------------------------------------------

This is what I need to place in my file:

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

Any help is greatly apreciated!

Thanks,
Børge
Reply With Quote
  #2  
Old 05-09-2006, 06:14 AM
munti munti is offline
Junior Member
 
Join Date: May 2006
Posts: 2
Default

I think I found the solution:
http://faq.siteground.com/custom-php.ini-file.html
http://siteground.com/php.ini-hosting.htm
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 05:18 PM.

Copyright © SiteGround.com Inc