On a completely different note -

Jul 16, 2010 10:39

Does anyone know if it's possible to turn register_globals off for one domain and on for another using a php.ini, or an .htaccess file on a shared host ( Read more... )

Leave a comment

Comments 5

dporowski July 16 2010, 18:40:26 UTC
Google says it's doable via individual .htaccess, assuming Apache at least. I'd assume it's also possible with other servers.

Reply

ms_vermilion July 16 2010, 19:01:28 UTC
Yes, I probably read all of the same search results that you found. I wasn't able to find anything that actually worked when I tried it though, at least so far. The .htaccess method might not work due to limitations of the host. Maybe I should just keep experimenting with it and exhausting more options.

Reply

ms_vermilion July 16 2010, 19:01:54 UTC
Thank you.

Reply


rwx July 19 2010, 06:03:11 UTC
for me, it works when you set it in the directory tag in vhosts.conf and not in the .htaccess. can you restart apache on this thing?

*also*, if you can configure PHP pools run through fastcgid, it works well to set one group one way and one group the other. this works on dreamhost and some other isps.

Reply

ms_vermilion July 23 2010, 21:30:12 UTC
Yikes - sorry I didn't respond to this sooner. I don't have access to restart Apache since it's a shared host on Network Solutions, but configuring the vhosts.conf might be possible. I'll try your suggestions, and see if I can get it to work. Thank you.

Reply


Leave a comment

Up