Re: IP address used by Apache reverse proxy?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I got a subdomain from freedns.afraid.org that took the IP address of my computer. I tried to use it for my app, but when I navigated to the subdomain, it took me to the login page for my router's admin settings.  I tried specifying the port number I set on the Apache httpd configuration file, but that got me to an error page indicating that the browser can't find the site.  

I'm attaching httpd.conf again.  I need to know about the PassEnv lines as well, actually.  And also the stuff from line 541 downward.  

What am I still doing wrong?  Please help.  Thanks.

From: Eric Covener <covener@xxxxxxxxx>
Sent: Monday, September 24, 2018 7:08 PM
To: users@xxxxxxxxxxxxxxxx
Subject: Re: IP address used by Apache reverse proxy?
 
On Mon, Sep 24, 2018 at 7:30 AM Osman Zakir <osmanzakir90@xxxxxxxxxxx> wrote:
>
> The Apache document root and the document root for the reverse proxy should be different, right?

Isn't Apache and the reverse proxy one and the same?

 > And do you mean I need to specify the document root for the reverse
proxy via the <Directory> directive?  Or do I just have to have that
somewhere above or below the ProxyPass line?  And if I specify the
reverse proxy document root in ProxyPass, I don't also need to specify
it for the virtual host, right?  As for the port number for the
reverse proxy, I'll try 8000 for now.

The DocumentRoot won't ever be used with your ProxyPass /.
If you later had ProxyPass of some more specific context root, like
/app, then your document root would be used when the request didn't
match the ProxyPass.

The relative position doesn't matter as long as they are in the same context.

> If I have this:
>
> <<Directory "E:/programming/visual_studio_2017/Projects/currency_converter/Release">
> </Directory>

> What should I put in there?

What do you expect Apache to do with files in there? You've been
talking about a reverse proxy.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx

Attachment: httpd.conf
Description: httpd.conf

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx

[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux