Proxy error?

Proxy error?

Post by Ashley M. Kirchne » Mon, 20 Jan 2003 06:06:40



    Is there a way to make ErrorDocument NOT rewrite the URL?  This is my setup:

    Rewri*gine on
    RewriteRule ^/string$  string/  [R]
    RewriteRule ^/string(.+) http://www.veryComputer.com/$1  [P]

    What happens right now:

    http://www.veryComputer.com/$UNKNOWN         ->  http://www.veryComputer.com/
    http://www.veryComputer.com/$UNKNOWN  ->  http://www.veryComputer.com/

    I do want the otherserver.com's 404, but I don't want it to rewrite the URL.

    PS: Both the 'somesite.com's config, as well as the 'otherserver.com's
config have ErrorDocument's defined.

 
 
 

Proxy error?

Post by 2Host.com - Rober » Mon, 20 Jan 2003 11:22:26



>     Is there a way to make ErrorDocument NOT rewrite the URL?  This is my setup:

>     Rewri*gine on
>     RewriteRule ^/string$  string/  [R]
>     RewriteRule ^/string(.+) http://www.veryComputer.com/$1  [P]

>     What happens right now:

>     http://www.veryComputer.com/$UNKNOWN         ->  http://www.veryComputer.com/
>     http://www.veryComputer.com/$UNKNOWN  ->  http://www.veryComputer.com/

>     I do want the otherserver.com's 404, but I don't want it to rewrite the URL.

>     PS: Both the 'somesite.com's config, as well as the 'otherserver.com's
> config have ErrorDocument's defined.

You have to use the URL if you want to redirect to another domain. If
the other domain is on the same system you can serve up the page from
another documentroot. Or, given your above example, I'd say you could
just as easily serve up a specific 404 page for that specific error, as
you have above in relation to the other directory (string) path.
--
Regards,

Server admin, support & programing for shared & dedicated web servers
Secure, reliable hosting you expect and deserve! http://www.veryComputer.com/

 
 
 

1. RH | up2date | recent proxy error?

Greetings -

I have been running up2date regularly for my 7.1 box, with no
problems, but over the past day or so, whenever I try (either from the
command line, of the GUI-based app), I get the following error:

Error communicating with server.  The message was:
Proxy Error

Has anyone else been getting this, or is there (potentially) something
awry with my system?

Thanks!

2. Software Inventory

3. Apache 1.2b4 ftp proxy error on Linux 2.0.27

4. Large Virtual screen only operational from root not user.. WHY?

5. Telnet access via proxy - Error in service module

6. '(none)'

7. What is an ARP Proxy error?

8. Resizing partition

9. CERN Proxy Error Message

10. Proxy Error

11. Modify Apache Proxy Error Message?

12. transparent proxy error ...

13. Apache proxy error 500