Re: ProxyPass not working?

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

 



Can you confirm you don't have a typo? Your ProxyPass has a slash and the URL you posted has a dot.

- Y

On Wed, Nov 9, 2016 at 6:46 PM, Lou DeGenaro <lou.degenaro@xxxxxxxxx> wrote:
I'm running apache2 and have defined the following:

lou@HAL9000:/etc/apache2/sites-available$ cat degenaro.com.conf
<VirtualHost *:80>
    ProxyRequests off
    ProxyPreserveHost on
    ServerName degenaro.com
   
    ServerAdmin lou@localhost
    ProxyPass /degenaro/com ajp://localhost:8080/degenaro.com
    ProxyPassReverse /degenaro/com ajp://localhost:8080/degenaro.com
   
    LogLevel warn
</VirtualHost>

I've restated the apache server, and visit http://localhost/degenaro.com/ and see this in my browser:

Index of /degenaro.com

[ICO]NameLast modifiedSizeDescription

[PARENTDIR]Parent Directory  -  
[DIR]public_html/2016-11-08 03:53 -  


Apache/2.4.18 (Ubuntu) Server at localhost Port 80

This is most disappointing, as I had expected to be forwarded to the tomcat server to see localhost:8080/degenaro.com.

What am I doing wrong?

Thanks.

Lou.


[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