Intern apache mod rewrite URL forward or other solution???

Discussion in 'Linux Networking' started by joealey2003, May 2, 2007.

  1. joealey2003

    joealey2003 Guest

    Hi all.

    The only thing i have to do is make an intranet web server act as it
    were on the internet. It would be an easy virtualhost setup if i
    didn't have do it for multiple domains.

    Can you figure out a solution that the user will never know, cause mod
    rewrite from apache will change the URL and use a perl script or php
    script to handle the socket wouldn't be nice. Also, i read that apache
    mod proxy is insecure too.

    Any hint?
     
    joealey2003, May 2, 2007
    #1
    1. Advertisements

  2. ServerAlias? Or mass-defined-virtual host?
    With so many informations provided, I could ask my crystal ball, but
    I'm afraid it could just tell me to f$#k off...

    Davide
     
    Davide Bianchi, May 2, 2007
    #2
    1. Advertisements

  3. joealey2003

    joealey2003 Guest

    i did a ServerAlias on the mass defined virtual host like....

    from the Internet connected web server httpd.conf....

    <Virtualhost *:80>
    ServerAlias www.mydomain.com
    DocumentRoot.....
    ......
    </Virtualhost>

    <Virtualhost *:80>
    ServerAlias www.mydomain22.com
    DocumentRoot.....
    ......
    </Virtualhost>
    .......

    Now, i have to forward all the traffic for www.mydomain33.com to an
    intranet (192.168.0.1) web server in a way that the user will never
    know.

    I asked this way cause i would like to hear a complete new solution if
    the stuffs i described like mod rewrite aren't able to do it.. Can mod
    rewrite do an internal url redirection with no proxy? That would be
    perfect, but if not, what is the solution you have?
     
    joealey2003, May 2, 2007
    #3
  4. joealey2003

    no0ne Guest

    wrote in
    Use an internal DNS server or host files...
     
    no0ne, May 7, 2007
    #4
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.