#1  
Old 5th March 2007, 22: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

Hello!
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
</Files>
</Directory>

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; 5th March 2007 at 23:10.
Reply With Quote
Sponsored Links
  #2  
Old 6th March 2007, 08:17
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 34,586
Thanks: 792
Thanked 4,983 Times in 3,903 Posts
Default

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
  #3  
Old 6th March 2007, 15: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
Reply

Bookmarks

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 11:57
ISPConfig and .htaccess ionut89 Feature Requests 1 17th October 2006 17:45
.htaccess login challenge broken with mod_rewrite ozonblue Installation/Configuration 2 13th September 2006 10:09
.htaccess never executed galmiche Server Operation 2 4th June 2006 21:44
No .htaccess in automatic backup? tron Installation/Configuration 3 22nd March 2006 18:03


All times are GMT +2. The time now is 17:23.


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