Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Join Date
    Dec 2002

    Apache URL rewriting task

    I'm using mod_proxy to mask some internal website URLs.
    Unfortunately, it appears the URL (which I can't change)
    uses absolutely URLs for some object references, which
    causes a double path situation in the Request URI. Bad.

    Possible URLs...


    Is there a rewrite rule that I could use that could remove
    any double references to /path? I'm sure I can hack this
    out eventually, but does anyone know off the top of their
    heads so I can get sucker working?


  2. #2
    Have you tried:
    gedit /etc/httpd/conf/httpd.conf
    And add the line:
    Alias /js /bla/bla/bla
    Then u can use /js/script.js i donnow.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts