roopurt18 Posted February 8, 2007 Share Posted February 8, 2007 There's a specific URL within my website that creates color catalogs and the processing time can cause apache to drop the request. For now, I've changed httpd.conf to Timeout 60 However, I'd like to set it back to 30 for the entire site and allow only this specific URL (or URLs matching a specific pattern) to have a longer timeout. I did a bit of hunting through google and I intend to do more, but if anyone can just throw out a directive or even a link I'd appreciate the saved time. Thanks! Quote Link to comment Share on other sites More sharing options...
steviewdr Posted February 10, 2007 Share Posted February 10, 2007 Id say you could put a Timeout 30 in a .htaccess file. -steve Quote Link to comment Share on other sites More sharing options...
the_oliver Posted February 11, 2007 Share Posted February 11, 2007 .htaccess files are really worth getting to grips with. They can essentualy be used to redifine the httpd.conf file for single areas of the site. If you can use them propaly they become exttreamly powerfull tools! Quote Link to comment Share on other sites More sharing options...
roopurt18 Posted February 12, 2007 Author Share Posted February 12, 2007 That's good advice and I thank you for it. However, there is already a .htaccess file in the root directory that routes all requests through a single .php file. So effectively this URL I wish to increase the apache timeout for is not a directory where I can put a .htaccess file. Under these circumstances, what are my options? Quote Link to comment Share on other sites More sharing options...
steviewdr Posted February 13, 2007 Share Posted February 13, 2007 The correct line in .htaccess should still work. If it doesn't take the line out of the .htaccess and put it into your httpd.conf. Php also has timeout settings you may need to look into. These can also be set in a .htaccess file and/or in the php.ini. -steve Quote Link to comment Share on other sites More sharing options...
scrupul0us Posted February 13, 2007 Share Posted February 13, 2007 im pretty sure u can do <directory /path/to/file> <files filename.php> timeout 60 </files> </directory> Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.