We help IT Professionals succeed at work.
Get Started

http://mysite.com to http://mysite.com:10000 Apache2

XXpunkXx749
XXpunkXx749 asked
on
368 Views
Last Modified: 2012-06-22
I have webmin installed and it runs on port 10000. I want to use apache2 to do a redirection like this;

http://panel.site.com -> http://panel.site.com:10000/

I tried following webmin documentation (http://www.webmin.com/apache.html) and putting,

<VirtualHost _default_>
ServerName panel.site.com
ProxyPass / http://localhost:10000/
ProxyPassReverse / http://localhost:10000/
</VirtualHost>

inside my /etc/apache2/sites-enabled/000-default.  
I added

referer=panel.site.com
to
In /etc/webmin/config

The I restarted apache2 and webmin

I tried accessing http://panel.site.com   and it gives me this error:

Forbidden
You don't have permission to access / on this server.

I know that this is a permissions problem, but what exactly am I suppose to chmod? This isn't suppose to direct to the webmin folder.

note: site.com is just used as an example to hide the true URL of my site.
Comment
Watch Question
Top Expert 2008
Commented:
This problem has been solved!
Unlock 2 Answers and 2 Comments.
See Answers
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE