Old 5th March 2007, 23:51
BeLuBehrens BeLuBehrens is offline
Junior Member
Join Date: Mar 2006
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default register_globals and .htaccess

I intend the following:
I would like to generally have the register_globals = off, that am already like that. Now would I like unite listings with one .htaccess to file on on to place.

I already made the following:

1.) .htacces file provides with contents “php_flag register_globals on”

2.) Httpd.conf changed. Now this looks in such a way:

<Directory /var/www/*/web>
Options +Includes -Indexes
AllowOverride All
AllowOverride Indexes AuthConfig Limit FileInfo
Order allow,deny
Allow from all
<Files ~ "^\.ht">
Deny from all

My httpd.cong lies in the listing etc./apache2/
I think that am correct with SUSE or give it still another another for it in question come?

3.) All service again started.

Unfortunately there is the error message:
… 500 Internal server error error…

The error.log says:
[Mon Mar 05 21:39: 37 2007] [alert] [client XXX] /var/www/web11/web/.htaccess: php_flag emergency allowed here

Where is the error?

Can someone help me further?

Thank You!

Last edited by BeLuBehrens; 6th March 2007 at 00:10.
Reply With Quote
Sponsored Links
Old 6th March 2007, 09:17
till till is offline
Super Moderator
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,015
Thanks: 840
Thanked 5,652 Times in 4,461 Posts

I recommend to put the line:

php_flag register_globals on

in the apache directives field of the website and not in a .htaccess file.
Till Brehm
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
Old 6th March 2007, 16:43
BeLuBehrens BeLuBehrens is offline
Junior Member
Join Date: Mar 2006
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default Thank You Till!

Thank you Till!

That is really the simplest and best method.

Thanks for the fast answer!
Reply With Quote


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
wordpress MU and ISPconfig .htaccess isues palkat General 4 18th October 2006 12:57
ISPConfig and .htaccess ionut89 Feature Requests 1 17th October 2006 18:45
.htaccess login challenge broken with mod_rewrite ozonblue Installation/Configuration 2 13th September 2006 11:09
.htaccess never executed galmiche Server Operation 2 4th June 2006 22:44
No .htaccess in automatic backup? tron Installation/Configuration 3 22nd March 2006 19:03

All times are GMT +2. The time now is 05:04.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.