Web Hosting Talk







View Full Version : How to put Register_globals on for one site only??


Dann2
11-16-2004, 07:59 PM
I am on a unix server.

Steven
11-16-2004, 11:30 PM
in the users vhost located in the httpd.conf add this


php_flag register_globals 1

Dann2
11-17-2004, 06:04 AM
I tried that and the server would not restart!

firestarter
11-17-2004, 06:08 AM
May I know the error that you are getting.

Dann2
11-17-2004, 02:29 PM
root@srv635 [~]# /etc/rc.d/init.d/httpd restart
/etc/rc.d/init.d/httpd restart: configuration broken, ignoring restart
/etc/rc.d/init.d/httpd restart: (run 'apachectl configtest' for details)
root@srv635 [~]#


'apachectl configtest'

start - start httpd
startssl - start httpd with SSL enabled
stop - stop httpd
restart - restart httpd if running by sending a SIGHUP or start if
not running
fullstatus - dump a full status screen; requires lynx and mod_status enabled
status - dump a short status screen; requires lynx and mod_status enabled
graceful - do a graceful restart by sending a SIGUSR1 or start if not running
configtest - do a configuration syntax test
help - this screen


SO WHAT ON EARTH DO I DO?