--0023545bd89c457c6d047e0305f5
Content-Type: text/plain; charset=ISO-8859-1
Hello,
I run a cpanel machine with the following versions:
cPanel 11.25.0-R42404
WHM 11.25.0 - X 3.9
CENTOS 4.7 i686
Apache 2.0.63
We have a client that is running a real estate website using a product from
Transparent Rets that connects and downloads a MLS (real estate) feed to
display on their site.
Transparent Rets has recommended we set the Apache timeout on this site to
10000 seconds.
Needless to say I do not want to set this for every site, so I wanted to try
to use a virtual host directive for this.
I found a few automatically generated virtual host directives on my server
in the /etc/httpd/conf/sites directory so I copied one of those and added
the time out.
First, if anyone could review my attempt to make a virtual host directive I
would *GREATLY* appreciate it.
Second, is there any way to verify the timeout has been increased for this
site, and only this site?
Here is the contents of the file. I have used xxxx's for privacy
DocumentRoot /home/xxxx/public_html
Port 80
DirectoryIndex index.htm index.html
ServerRoot /usr/local/apache
<VirtualHost 67.225.156.165:80>
ServerName xxxxx.com
ServerAlias www.xxxxx.com
DocumentRoot /home/xxxx/public_html
ServerAdmin webmaster [at] xxxx.com
Timeout 7000
## User xxxx # Needed for Cpanel::ApacheConf
<IfModule mod_suphp.c>
suPHP_UserGroup xxxx xxxx
</IfModule>
<IfModule concurrent_php.c>
php4_admin_value open_basedir
"/home/xxxx:/usr/lib/php:/usr/php4/lib/php:/usr/local/lib/ph p:/usr/local/php4/lib/php:/tmp"
php5_admin_value open_basedir
"/home/xxxx:/usr/lib/php:/usr/local/lib/php:/tmp"
</IfModule>
<IfModule !concurrent_php.c>
<IfModule mod_php4.c>
php_admin_value open_basedir
"/home/xxxx:/usr/lib/php:/usr/php4/lib/php:/usr/local/lib/ph p:/usr/local/php4/lib/php:/tmp"
</IfModule>
<IfModule mod_php5.c>
php_admin_value open_basedir
"/home/xxxx:/usr/lib/php:/usr/local/lib/php:/tmp"
</IfModule>
<IfModule sapi_apache2.c>
php_admin_value open_basedir
"/home/xxxx:/usr/lib/php:/usr/php4/lib/php:/usr/local/lib/ph p:/usr/local/php4/lib/php:/tmp"
</IfModule>
</IfModule>
<IfModule !mod_disable_suexec.c>
SuexecUserGroup xxxxx xxxx
</IfModule>
CustomLog /usr/local/apache/domlogs/xxxxx.com-bytes_log "%{%s}t %I
..\n%{%s}t %O ."
CustomLog /usr/local/apache/domlogs/xxxxx.com combined
ScriptAlias /cgi-bin/ /home/xxxx/public_html/cgi-bin/
</VirtualHost>
--0023545bd89c457c6d047e0305f5
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Hello,<div><br></div><div>I run a cpanel machine with the following version=
s:</div><div><br></div><div><span class=3D"Apple-style-span" style=3D"font-=
family: Arial; font-size: 13px; border-collapse: collapse; ">cPanel 11.25.0=
-R42404<br>
WHM 11.25.0 - X 3.9<br>CENTOS 4.7 i686<br>Apache 2.0.63</span></div><div><s=
pan class=3D"Apple-style-span" style=3D"font-family: Arial; font-size: 13px=
; border-collapse: collapse; "><br></span></div><div><span class=3D"Apple-s=
tyle-span" style=3D"font-family: Arial; font-size: 13px; border-collapse: c=
ollapse; "><br>
</span></div><div><span class=3D"Apple-style-span" style=3D"font-family: Ar=
ial; font-size: 13px; border-collapse: collapse; ">We have a client that is=
running a real estate website using a product from Transparent Rets that c=
onnects and downloads a MLS (real estate) feed to display on their site.</s=
pan></div>
<div><span class=3D"Apple-style-span" style=3D"font-family: Arial; font-siz=
e: 13px; border-collapse: collapse; "><br></span></div><div><span class=3D"=
Apple-style-span" style=3D"font-family: Arial; font-size: 13px; border-coll=
apse: collapse; ">Transparent Rets has recommended we set the Apache timeou=
t on this site to 10000 seconds.</span></div>
<div><span class=3D"Apple-style-span" style=3D"font-family: Arial; font-siz=
e: 13px; border-collapse: collapse; "><br></span></div><div><span class=3D"=
Apple-style-span" style=3D"font-family: Arial; font-size: 13px; border-coll=
apse: collapse; ">Needless to say I do not want to set this for every site,=
so I wanted to try to use a virtual host directive for this.</span></div>
<div><span class=3D"Apple-style-span" style=3D"font-family: Arial; font-siz=
e: 13px; border-collapse: collapse; "><br></span></div><div><span class=3D"=
Apple-style-span" style=3D"font-family: Arial; font-size: 13px; border-coll=
apse: collapse; ">I found a few automatically generated virtual host direct=
ives on my server in the /etc/httpd/conf/sites directory so I copied one of=
those and added the time out.</span></div>
<div><span class=3D"Apple-style-span" style=3D"font-family: Arial; font-siz=
e: 13px; border-collapse: collapse; "><br></span></div><div><span class=3D"=
Apple-style-span" style=3D"font-family: Arial; font-size: 13px; border-coll=
apse: collapse; ">First, if anyone could review my attempt to make a virtua=
l host directive I would *GREATLY* appreciate it.</span></div>
<div><span class=3D"Apple-style-span" style=3D"font-family: Arial; font-siz=
e: 13px; border-collapse: collapse; "><br></span></div><div><span class=3D"=
Apple-style-span" style=3D"font-family: Arial; font-size: 13px; border-coll=
apse: collapse; ">Second, is there any way to verify the timeout has been i=
ncreased for this site, and only this site?</span></div>
<div><span class=3D"Apple-style-span" style=3D"font-family: Arial; font-siz=
e: 13px; border-collapse: collapse; "><br></span></div><div><span class=3D"=
Apple-style-span" style=3D"font-family: Arial; font-size: 13px; border-coll=
apse: collapse; "><br>
</span></div><div><span class=3D"Apple-style-span" style=3D"font-family: Ar=
ial; font-size: 13px; border-collapse: collapse; ">Here is the contents of =
the file. =A0I have used xxxx's for privacy</span></div><div><span clas=
s=3D"Apple-style-span" style=3D"font-family: Arial; font-size: 13px; border=
-collapse: collapse; "><br>
</span></div><div><span class=3D"Apple-style-span" style=3D"font-family: Ar=
ial; font-size: 13px; border-collapse: collapse; "><br></span></div><div><s=
pan class=3D"Apple-style-span" style=3D"font-family: Arial; font-size: 13px=
; border-collapse: collapse; "><br>
</span></div><div><span class=3D"Apple-style-span" style=3D"font-family: Ar=
ial; font-size: 13px; border-collapse: collapse; "><br></span></div><div><s=
pan class=3D"Apple-style-span" style=3D"font-family: Arial; font-size: 13px=
; border-collapse: collapse; "><br>
</span></div><div><span class=3D"Apple-style-span" style=3D"font-family: Ar=
ial; font-size: 13px; border-collapse: collapse; "><div>DocumentRoot /home/=
xxxx/public_html</div><div>Port 80</div><div>DirectoryIndex index.htm index=
..html</div>
<div>ServerRoot /usr/local/apache</div><div><br></div><div><VirtualHost =
<a href=3D"http://67.225.156.165:80">67.225.156.165:80</a>></div><div>=
=A0=A0 =A0ServerName <a href=3D"http://xxxxx.com">xxxxx.com</a></div><div>=
=A0=A0 =A0ServerAlias <a href=3D"http://www.xxxxx.com">www.xxxxx.com</a></d=
iv>
<div>=A0=A0 =A0DocumentRoot /home/xxxx/public_html</div><div>=A0=A0 =A0Serv=
erAdmin <a href=3D"mailto:webmaster [at] xxxx.com">webmaster [at] xxxx.com</a></div><=
div>=A0=A0 =A0Timeout 7000</div><div>=A0=A0 =A0## User xxxx # Needed for Cp=
anel::ApacheConf</div>
<div>=A0=A0 =A0<IfModule mod_suphp.c></div><div>=A0=A0 =A0 =A0 =A0suP=
HP_UserGroup xxxx xxxx</div><div>=A0=A0 =A0</IfModule></div><div>=A0=
=A0 =A0<IfModule concurrent_php.c></div><div>=A0=A0 =A0 =A0 =A0php4_a=
dmin_value open_basedir "/home/xxxx:/usr/lib/php:/usr/php4/lib/php:/us=
r/local/lib/php:/usr/local/php4/lib/php:/tmp"</div>
<div>=A0=A0 =A0 =A0 =A0php5_admin_value open_basedir "/home/xxxx:/usr/=
lib/php:/usr/local/lib/php:/tmp"</div><div>=A0=A0 =A0</IfModule>=
</div><div>=A0=A0 =A0<IfModule !concurrent_php.c></div><div>=A0=A0 =
=A0 =A0 =A0<IfModule mod_php4.c></div>
<div>=A0=A0 =A0 =A0 =A0 =A0 =A0php_admin_value open_basedir "/home/xxx=
x:/usr/lib/php:/usr/php4/lib/php:/usr/local/lib/php:/usr/loc al/php4/lib/php=
:/tmp"</div><div>=A0=A0 =A0 =A0 =A0</IfModule></div><div>=A0=A0 =
=A0 =A0 =A0<IfModule mod_php5.c></div>
<div>=A0=A0 =A0 =A0 =A0 =A0 =A0php_admin_value open_basedir "/home/xxx=
x:/usr/lib/php:/usr/local/lib/php:/tmp"</div><div>=A0=A0 =A0 =A0 =A0&l=
t;/IfModule></div><div>=A0=A0 =A0 =A0 =A0<IfModule sapi_apache2.c>=
</div><div>=A0=A0 =A0 =A0 =A0 =A0 =A0php_admin_value open_basedir "/ho=
me/xxxx:/usr/lib/php:/usr/php4/lib/php:/usr/local/lib/php:/u sr/local/php4/l=
ib/php:/tmp"</div>
<div>=A0=A0 =A0 =A0 =A0</IfModule></div><div>=A0=A0 =A0</IfModule&=
gt;</div><div>=A0=A0 =A0<IfModule !mod_disable_suexec.c></div><div>=
=A0=A0 =A0 =A0 =A0SuexecUserGroup xxxxx xxxx=A0</div><div>=A0=A0 =A0</If=
Module></div><div>=A0=A0 =A0CustomLog /usr/local/apache/domlogs/xxxxx.co=
m-bytes_log "%{%s}t %I .\n%{%s}t %O ."</div>
<div>=A0=A0 =A0CustomLog /usr/local/apache/domlogs/<a href=3D"http://xxxxx.=
com">xxxxx.com</a> combined</div><div>=A0=A0 =A0ScriptAlias /cgi-bin/ /home=
/xxxx/public_html/cgi-bin/</div><div></VirtualHost></div><div><br></d=
iv></span></div>
--0023545bd89c457c6d047e0305f5--
