top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

Apache: Is there a way to set the Proxytimeout to each URL?

+2 votes

Please tell us about the apache settings so that we can set the Proxytimeout to "each URL"?

timeout = 60

timeout = 300

posted Feb 18, 2015 by Kaushik

Looking for an answer?  Promote on:
Facebook Share Button Twitter Share Button LinkedIn Share Button
You have to write in code.
Add some delay if you detect pattern matching to URL1 similarly for URL2.

Similar Questions
+1 vote

In my web-app there is a HTML screen which provides the facility to select and download documents. If user selects some documents (using checkbox) and submits the form then then all of his selected documents gets downloaded in form of a zip file. What I do is that I take users selected documents and then use Archive::Zip to create Zip file. It works fine.

But if the user had selected a lot of documents then the create_zip subroutine takes a lot of time, and if it takes more than 4 minutes (240 seconds) then apache timeout occurs causing the 503 error, but in the backend the subroutine keeps doing the job, but due to the timeout I cant send the created zip file to users browser.

I am confused how to solve this problem.

0 votes

While clicking on the image it opens into the browser. I dont want to allow client to open the image in browser as separate url. I have blocked the /image/ directory from access/listing , but the image is opening.

How to stop that in apache. Please help me.

+1 vote

I am working on a Ubuntu 10.04 server, on which I installed PHP 5.3, Apache 2 2.2.9. I followed the below steps to do the installation :

  1. I installed apache2 using SUDO APT-GET INSTALL APACHE2

  2. I also installed libapache2 and php using the below commands
    sudo apt-get install php5 libapache2-mod-php5
    sudo apt-get install php5-core

  3. I did redirection to port by configuring the DEFAULT file in /ETC/APACHE2/SITES-AVAILABLE. Redirection happened successfully.

  4. PHP5-curl was installed using

  5. Rewrite mod was enabled in apache2 using
    SUDO A2ENMOD REWRITE and apache2 was restarted.

Now, after following this if I try to access the URL, I get the following message -


But, the same URL is accessed from another system with the same configuration , it works fine.

+2 votes

My url has # in the url. Could some one suggest how to use this to redirect. I do not have control over how the url is being generated as its a software product. The below rule does not seem to work.

RewriteRule ^(/share/page/repository#)$ /share/page/context/mine/myfiles [B,R]

I tried to escape the hash with [^c], but it does not seem to work..Any clues on how to handle " # "