| View previous topic :: View next topic |
| Author |
Message |
sjouken
Joined: 11 Mar 2006 Posts: 6 Location: Netherlands
|
Posted: Sat 11 Mar '06 13:48 Post subject: .htaccess , PHP (4.3.10) and Sambar V5.2 |
|
|
I read some (here all) articles about the .htaccess-file.
What I did, was follow the next procedure:
* I activated .htaccess in my Admin-panel
* I created a .htaccess-file in the root of the subdirectory which was needed to turn "off magic_quotes_gpc"
| Quote: | | php_flag "magic_quotes_gpc" "Off" |
All I received was the following in my server.log:
| Quote: | | [2006-03-11 14:16:47] ERROR: Invalid HTACCESS parameter [line 1]: E:/test_www_server/query_db/.htaccess |
What is my terrible mistake? I really hope that there is somebody out there who already has solved this problem.
PS I can't disable magic_quotes_gpc in my php.ini-file, for I must use the scripting I create on an external web-server, where I have no access to the php.ini-file |
|
| Back to top |
|
Steffen
Joined: 07 Jun 2004 Posts: 403 Location: Netherlands
|
Posted: Thu 23 Mar '06 11:23 Post subject: |
|
|
The php_flag directive in .htaccess is not working in Sambar, it is a specific feature for Apache only.
Steffen |
|
| Back to top |
|
sjouken
Joined: 11 Mar 2006 Posts: 6 Location: Netherlands
|
Posted: Thu 23 Mar '06 11:32 Post subject: |
|
|
Thanks Steffen for your reply.
It's a answer I wasn't hoping for, but anyway... Thanks |
|
| Back to top |
|
Spikecity
Joined: 04 Aug 2004 Posts: 123
|
Posted: Fri 31 Mar '06 13:59 Post subject: |
|
|
| I don't know if it is any concilation to you but 6.3 is much more compliant to apache for .htaccess and for a fact I know Tod has been spending a lot of time for 6.4 to even iron out more differences in dot file compatibility. |
|
| Back to top |
|