Login | Forgot password | Register
What is OpenID?
OpenID is an Internet-wide identity system that allows you to sign in to many websites with a single account.
With OpenID, your ID becomes a URL (e.g. http://username.myopenid.com/). You can get a free OpenID for example from myopenid.com.
For more information visit the official OpenID site.
Installing SilverStripe
SilverStripe Forums » Installing SilverStripe » Error in .htaccess under assets directory in v2.3.2 RC2
Getting SilverStripe up and running on your computer and on your web server.
|
Page:
1
|
Go to End | |
| Author | Topic: Error in .htaccess under assets directory in v2.3.2 RC2 | 574 Views |
-
Error in .htaccess under assets directory in v2.3.2 RC2

1 June 2009 at 5:48pm
Hello,
I have been trying out the latest release candidate and I receive the following error in the Apache log files when accessing an image in the assets directory:
Invalid command 'php_flag', perhaps mis-spelled or defined by a module not included in the server configuration, referer: http://www.domain.com/silverstripe/gallery/The code in the .htaccess file reads:
php_flag engine offTo overcome this issue, I renamed the .htaccess file. Has anyone else experienced this issue?
Cheers,
Gary
-
Re: Error in .htaccess under assets directory in v2.3.2 RC2

1 June 2009 at 5:51pm
Hello,
I believe that our hosting environment uses phpsuexec and this does not allow this override in the .htaccess file and it must occur in php.ini.
Cheers,
Gary
-
Re: Error in .htaccess under assets directory in v2.3.2 RC2

1 June 2009 at 8:15pm
It would be ok to comment out this line from the .htaccess
It is there to prevent php code from being run in the assets folder.
If your host allows you to set php.ini configs on a per directory basis, then you could create a php.ini for the assets folder, otherwise I would just leave it.
| 574 Views | ||
|
Page:
1
|
Go to Top |
Currently Online: Euphemismus, tbarho
Welcome to our latest member: fearofbuttons


