Networking Forums

Networking Forums > Computer Networking > Linux Networking > Intern apache mod rewrite URL forward or other solution???

Reply
Thread Tools Display Modes

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

 
 
joealey2003@yahoo.com
Guest
Posts: n/a

 
      05-02-2007, 01:08 PM
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?

 
Reply With Quote
 
 
 
 
Davide Bianchi
Guest
Posts: n/a

 
      05-02-2007, 02:21 PM
On 2007-05-02, (E-Mail Removed) <(E-Mail Removed)> wrote:
> were on the internet. It would be an easy virtualhost setup if i
> didn't have do it for multiple domains.


ServerAlias? Or mass-defined-virtual host?

> Can you figure out a solution that the user will never know, cause mod


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

--
Helping you to shoot yourself in the foot is not in my mission statement.
-- Shmuel (Seymour J.) Metz
 
Reply With Quote
 
joealey2003@yahoo.com
Guest
Posts: n/a

 
      05-02-2007, 04:46 PM
Davide Bianchi wrote:
> ServerAlias? Or mass-defined-virtual host?


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.


> With so many informations provided, I could ask my crystal ball, but
> I'm afraid it could just tell me to f$#k off...


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?



Davide Bianchi wrote:
> On 2007-05-02, (E-Mail Removed) <(E-Mail Removed)> wrote:
> > were on the internet. It would be an easy virtualhost setup if i
> > didn't have do it for multiple domains.

>
> ServerAlias? Or mass-defined-virtual host?
>
> > Can you figure out a solution that the user will never know, cause mod

>
> 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
>
> --
> Helping you to shoot yourself in the foot is not in my mission statement.
> -- Shmuel (Seymour J.) Metz


 
Reply With Quote
 
no0ne
Guest
Posts: n/a

 
      05-07-2007, 10:03 PM
(E-Mail Removed) wrote in
news:(E-Mail Removed) oups.com:

> Davide Bianchi wrote:
>> ServerAlias? Or mass-defined-virtual host?

>
> 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.


Use an internal DNS server or host files...
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
domain rewrite Eggert Ehmke Linux Networking 1 10-17-2007 08:37 AM
dynamic web page rewrite jhead@ivytech.edu Linux Networking 2 12-23-2005 11:01 PM
Cisco CW Campus Manager, CW Common Service, CW Device Fault Manager, CW Recource Manager Essentials, NGenious RealTime Monitor, CiscoWorks Routed WAN Management Solution v1.3 [3 CDs], CiscoWorks VPN_Security Management Solution v2.2, CiscoWorks QoS P astra35 Wireless Internet 0 05-21-2004 06:48 PM
Cisco CW Campus Manager, CW Common Service, CW Device Fault Manager, CW Recource Manager Essentials, NGenious RealTime Monitor, CiscoWorks Routed WAN Management Solution v1.3 [3 CDs], CiscoWorks VPN_Security Management Solution v2.2, CiscoWorks QoS P astra35 Windows Networking 0 05-19-2004 02:04 PM
ip rewrite on my firewall? G?ranBo Linux Networking 0 11-11-2003 03:40 PM



1 2 3 4 5 6 7 8 9 10 11