Welcome Guest. Please Login or Register  


You are here: Index > Webuzo > General Support > Topic : Apache shutting down with VirtualHost conf file



Normal Mode | Print  

 Apache shutting down with VirtualHost conf file (2 Replies, Read 21967 times)
vtolenti89
Group: Member
Post Group: Newbie
Posts: 19
Status:
I am new to servers and my Apache server is shutting down whenever I try to add the following conf file

Code

<VirtualHost *:80>
    ServerAdmin foo@example.com
    ServerName example.com

    ProxyRequests off

    <Proxy *>
            Order deny,allow
            Allow from all
    </Proxy>

    <Location /myapp1>
            ProxyPass h_t_t_p_://localhost:3000
            ProxyPassReverse h_t_t_ p://localhost:3000
    </Location>

    <Location /myapp2>
            ProxyPass h_t_t_p://localhost:3010
            ProxyPassReverse h_t_t_p://localhost:3010
    </Location>

</VirtualHost>


Actually, the server shuts down even if only the following piece of code is added
Code

<VirtualHost *:80>

</VirtualHost>


I would like to be able to have requests, sent to e.g.
Code
h_t_t_p_s://example.com/myapp1
redirected to the port 3000.

Any ideas what I am doing wrong?

IP: --   


Threads
 vtolenti89   Apache shutting down with VirtualHost conf file (2 Replies, Read 21967 times)
    |--  Dhanya   Hi, The Apache...   on October 1, 2019, 9:40 am
    |--  vtolenti89   I am already...   on October 1, 2019, 10:26 am

« Previous    Next »

Normal Mode | Print  



Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is May 6, 2024, 6:27 pm.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 11  |  Page Created In:0.019