View Single Post
  #5 (permalink)  
Old 07-23-2007, 03:13 AM
celord celord is offline
Junior Member
 
Join Date: Jul 2007
Posts: 3
Default

ok I corrected the write permit ions on those folders and now I have a quetion

Why using this .htaccess file:

Code:
RewriteEngine on
RewriteBase .* index.php

php_flag magic_quotes_gpc off
php_flag register_globals off
on my http://127.0.0.1/zf this error:

HTML Code:
Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, none@sword.com 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.

and on my error.log :
Code:
[Sun Jul 22 20:55:00 2007] [alert] [client 127.0.0.1] /var/www/sword.com/zf/.htaccess: RewriteBase takes one argument, the base URL of the per-directory context

And if I change my .htaccess to this

Code:
RewriteEngine on
RewriteBase /zf/
RewriteRule !\.(js|css|ico|gif|jpg|png)$ index.php
Everithing works jusf fine!!!!


What is the difference ?

Thanks for your help guys!!!!

Last edited by celord : 07-23-2007 at 03:43 AM.
Reply With Quote