Welcome to MobyThreads.com!
FAQFAQ   SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log in/Register/PasswordLog in/Register/Password

Virtual Host Problem

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Related Topics:
virtual host problem - hi all i have add a virtual host in when i try to visit the url from the web all images's path point to how can i point image path to without change href from to tnx

[2.0.40] Virtual Host Authentication Problem - works okay for normal document root. Its just for virtual host that the does not activate. I setup as follows: o created passwd file using htpasswd command o copied .htaccess to virtual host docroot are..

apache2 virtual host problem - Hi A while ago I did a small site to display from family in England (mostly to see some since I didn't get to go). Anyway, my ISP in addition to providing DNS pointing to my small..

Problem with virtual host - WAP site 403 Error - I've two virtual hosts for www web site and wap. WWW works fine, but as i get to wap site via IE or M3Gate Wap explorer it gives me 403 Forbidden error. All files (www and wap) are chmod 775/664 and user is apache, group apache.

local virtual host config for testing setup problem - Ive got a dynddns address which works fine frmo the outside world. I want to set up another virtual host for testing purposes only from my machine. from Named * *>..
Author Message
marauder328

External


Since: Jul 19, 2003
Posts: 4



(Msg. 1) Posted: Thu Feb 19, 2004 6:04 am
Post subject: Virtual Host Problem
Archived from groups: alt>apache>configuration (more info?)

OK I have a web server that up until now served 1 web page.
However the company needed to expand and needed to add
a few other sites to handle customers and employees.

So I added a few virtual host sections for the new sites.
I also transfered the old site to a virtual host (to remain
consistant)

I then changed the default root (all that fun stuff in the
"Global Section" and changed the files in the /var/www/html
dir to an index.html file that redirected to the company web
site (the idea being any other hits for the server that doesnt
go to either of the virtual hosts will get bounced to the
co's web site). However this isnt working I keep getting
sent to the first virutal host entry.

# Global Section
BindAddress *
ServerName httpd.myco.com
DocumentRoot "/var/www/html"
..
..
..
<VirtualHost *>
ServerName myvhost1.com
</VirtualHost>

<VirtualHost *>
ServerName myvhost2.myco.com
</VirtualHost>

<VirtualHost *>
ServerName myvhost3.myco.com
</VirtualHost>

Of course there is more info in the httpd.conf file then that
but the rest is all DSO, Directory structures etc.

Do I need to have a VirtualHost section for the defautl.
I added <VirtualHost _default_> and it complained that
it was already defined.

--------------------------------------------
Todd Beauchemin
high-commander.RemoveThis@todds-world.net
Hotmail: Marauder328.RemoveThis@hotmail.com
AIM: Marauder328, CaptainTodd328
http://www.todds-world.net

 >> Stay informed about: Virtual Host Problem 
Back to top
Login to vote
nospam203

External


Since: Feb 18, 2004
Posts: 2



(Msg. 2) Posted: Thu Feb 19, 2004 6:04 am
Post subject: Re: Virtual Host Problem [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

I would have just set the 404.shtml and 505 etc to redirect to the co
site and not played around with the Vhost.

On Thu, 19 Feb 2004 03:04:16 GMT, "Todd Beauchemin"
<Marauder328.DeleteThis@hotmail.com> wrote:

 >
 >OK I have a web server that up until now served 1 web page.
 >However the company needed to expand and needed to add
 >a few other sites to handle customers and employees.
 >
 >So I added a few virtual host sections for the new sites.
 >I also transfered the old site to a virtual host (to remain
 >consistant)
 >
 >I then changed the default root (all that fun stuff in the
 >"Global Section" and changed the files in the /var/www/html
 >dir to an index.html file that redirected to the company web
 >site (the idea being any other hits for the server that doesnt
 >go to either of the virtual hosts will get bounced to the
 >co's web site). However this isnt working I keep getting
 >sent to the first virutal host entry.
 >
 ># Global Section
 >BindAddress *
 >ServerName httpd.myco.com
 >DocumentRoot "/var/www/html"
 >.
 >.
 >.
 ><VirtualHost *>
 > ServerName myvhost1.com
 ></VirtualHost>
 >
 ><VirtualHost *>
 > ServerName myvhost2.myco.com
 ></VirtualHost>
 >
 ><VirtualHost *>
 > ServerName myvhost3.myco.com
 ></VirtualHost>
 >
 >Of course there is more info in the httpd.conf file then that
 >but the rest is all DSO, Directory structures etc.
 >
 >Do I need to have a VirtualHost section for the defautl.
 >I added <VirtualHost _default_> and it complained that
 >it was already defined.
 >
 >--------------------------------------------
 >Todd Beauchemin
 >high-commander@todds-world.net
 >Hotmail: Marauder328.DeleteThis@hotmail.com
 >AIM: Marauder328, CaptainTodd328
 >http://www.todds-world.net
 >






















submit.DeleteThis@spamarchive.org tosspam.DeleteThis@aol.com abuse.DeleteThis@aol.com abuse.DeleteThis@yahoo.com abuse.DeleteThis@hotmail.com
abuse.DeleteThis@msn.com abuse.DeleteThis@sprint.com abuse.DeleteThis@earthlink.com uce.DeleteThis@ftc.gov
postmaster.DeleteThis@attglobal.net abuse.DeleteThis@pacbell.net livehelp.DeleteThis@icrmedia.org
abuse.DeleteThis@prodigy.net postmaster.DeleteThis@prodigy.net abuse.DeleteThis@verison.net
abuse.DeleteThis@icomcast.net abuse.DeleteThis@connect.com.au abuse.DeleteThis@netgate.net.nz
abuse-quiet.DeleteThis@sprint.net<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: Virtual Host Problem 
Back to top
Login to vote
Display posts from previous:   
   Web Hosting and Web Master Forums (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]