Magic Quotes Question.

General Discussion of atomic repo and development projects.

Ask for help here with anything else not covered by other forums.
Galactic Zero
Forum Regular
Forum Regular
Posts: 471
Joined: Mon Dec 06, 2004 10:43 pm

Magic Quotes Question.

Unread post by Galactic Zero »

Hello Scott and others.

Since I can't post this on the Parallels forums for some odd reason I'll ask it here.

I'm having problems with magic quotes, I've put this code in the vhost.conf file for the domain I want the quotes on.

Code: Select all

<Directory /var/www/vhosts/capriccioristorante.com/httpdocs/News/lists/>
<IfModule mod_php5.c>
  php_flag magic_quotes_gpc on
</IfModule>
</Directory>
EDIT*** Yes I have run the reconfigure script for vhosts.conf
Is this the correct format?
Franklyn Halamka
Still learning my way around Linux Security.
http://www.galacticzero.net
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Unread post by scott »

if you mean websrvmng, yes, but only one time. That adds an include statement into the domains httpd.include file.
Galactic Zero
Forum Regular
Forum Regular
Posts: 471
Joined: Mon Dec 06, 2004 10:43 pm

Unread post by Galactic Zero »

by one time do you mean only add that statement to one vhost.conf file and then run the websrvmng?

Or can I put that statement in each domain that needs magic quotes on?
Franklyn Halamka
Still learning my way around Linux Security.
http://www.galacticzero.net
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Unread post by scott »

I would create all your vhost.conf's first, then run websrvmng -a, that should update every domains config all in one shot.
Galactic Zero
Forum Regular
Forum Regular
Posts: 471
Joined: Mon Dec 06, 2004 10:43 pm

Unread post by Galactic Zero »

ok, thanks...

any issues running that later on if someone requests a change?
Franklyn Halamka
Still learning my way around Linux Security.
http://www.galacticzero.net
breun
Long Time Forum Regular
Long Time Forum Regular
Posts: 2813
Joined: Sat Aug 20, 2005 9:30 am
Location: The Netherlands

Unread post by breun »

No. But if you're just making a change to an existing vhost.conf there is no need to run websrvmng. A quick service httpd reload should be enough.
Lemonbit Internet Dedicated Server Management
Post Reply