Apache Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsSystem AdministrationApache Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old December 27th, 2011, 07:24 PM
woger woger is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2005
Posts: 325 woger User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 Days 5 h 5 m 8 sec
Reputation Power: 9
Subdomain, Virtual Host and mod_proxy

Hi
I have a home web server running Ubuntu 11.04 and Apache 2.2.17.

Recently, I was able to setup a subdomain - beth.rightintoit.net successfully, and run a web page from /var/www/beth

I found a site about Webmin in a Virtual Host via a Proxy . I tried to follow the instructions to set this up.
This required enabling/installing mod_proxy. I think I used
Code:
$ sudo a2enmod proxy
.

The problems I have now are:

1. When I go to http://beth.rightintoit.net, it loads the default page from /var/www/index.html, rather than /var/www/beth/index.html
2. I put a phpinfo.php into /var/www/beth/ to try to see if mod_proxy was enabled. Now, if I try to call that, I get a 404 - page not found error.

I assume the problems are associated with a ****-up in my configuration of mod_proxy - cos that's all that's changed since it last worked.

Any advice?

3. Also, in the configuration of webmin to run via the proxy, it says the webmin config should have referer=apachehost. I changed that to referer=rightintoit.net - did I interpret that correctly?

Appreciate any advice!!
3. With regard

Reply With Quote
  #2  
Old December 29th, 2011, 08:06 AM
E-Oreo's Avatar
E-Oreo E-Oreo is offline
Lost in code
Click here for more information.
 
Join Date: Dec 2004
Posts: 7,944 E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)  Folding Points: 945 Folding Title: Novice Folder
Time spent in forums: 2 Months 10 h 16 m 54 sec
Reputation Power: 7053
It's difficult to really see what would be the problem without seeing your configuration.
__________________
PHP FAQ
How to program a basic, secure login system using PHP
Connect with me on LinkedIn


Quote:
Originally Posted by Spad
Ah USB, the only rectangular connector where you have to make 3 attempts before you get it the right way around

Reply With Quote
  #3  
Old December 29th, 2011, 04:03 PM
woger woger is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2005
Posts: 325 woger User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 Days 5 h 5 m 8 sec
Reputation Power: 9
Quote:
Originally Posted by E-Oreo
It's difficult to really see what would be the problem without seeing your configuration.

Thanks. A re-install got stiff back working.
I'll leave mod_proxy till I know what I'm doing to avoid security problems.

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationApache Development > Subdomain, Virtual Host and mod_proxy

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap