Forum Index Search Forum Register Log in

Current

7.0 Production
build 6 Mar '07


7.1 Beta 5
build 7 Oct '07



A donation makes a contribution towards the time and effort that's going in to running this site.

Steffen

Contact:
My mail address is
at the top of the paypal form :

Your donations will help to keep this site alive and well.

.htaccess , PHP (4.3.10) and Sambar V5.2

 
Post new topic   Reply to topic    Sambar Forum Index -> Coding & Script Corner
View previous topic :: View next topic  
Author Message
sjouken



Joined: 11 Mar 2006
Posts: 6
Location: Netherlands

PostPosted: Sat 11 Mar '06 13:48    Post subject: .htaccess , PHP (4.3.10) and Sambar V5.2 Reply with quote

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
View user's profile Visit poster's website
Steffen



Joined: 07 Jun 2004
Posts: 403
Location: Netherlands

PostPosted: Thu 23 Mar '06 11:23    Post subject: Reply with quote

The php_flag directive in .htaccess is not working in Sambar, it is a specific feature for Apache only.


Steffen
Back to top
View user's profile Visit poster's website
sjouken



Joined: 11 Mar 2006
Posts: 6
Location: Netherlands

PostPosted: Thu 23 Mar '06 11:32    Post subject: Reply with quote

Thanks Steffen for your reply.
It's a answer I wasn't hoping for, but anyway... Thanks
Back to top
View user's profile Visit poster's website
Spikecity



Joined: 04 Aug 2004
Posts: 123

PostPosted: Fri 31 Mar '06 13:59    Post subject: Reply with quote

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
View user's profile Visit poster's website

Post new topic   Reply to topic    Sambar Forum Index -> Coding & Script Corner
Page 1 of 1