Scoop -- the swiss army chainsaw of content management
Front Page · Everything · News · Code · Help! · Wishlist · Project · Scoop Sites · Dev Notes · Latest CVS changes · Development Activities
Switch from location to virtual host Bugs
By dnaworks , Section Help! []
Posted on Mon Jul 14, 2003 at 12:00:00 PM PST
This isn't really a bug but I had a question.  Has anyone here switched from a location-based install to a virtual host (well, virtual host = 'www') w/o a complete reinstall?

I don't really want to do a reinstall if I can at all help it but I'd like my scoop site to now be the top level directory.  I think I can fiddle w/ the httpd-<name>.conf file to get this but I am not what to do after reading the docs.

Anyone have any suggestions?  (rtfm is fine as long as you point out where in fm I missed this ... <grin> )

< The K5 of Consciousness | Link to Print >

Menu
· create account
· faq
· search
· report bugs
· Scoop Administrators Guide
· Scoop Box Exchange

Login
Make a new account
Username:
Password:

Related Links
· Scoop
· More on Bugs
· Also by dnaworks

Story Views
  35 Scoop users have viewed this story.

Display: Sort:
Switch from location to virtual host | 2 comments (2 topical, 0 hidden)
Yes, I've done that (5.00 / 3) (#1)
by janra on Mon Jul 14, 2003 at 04:05:27 PM PST

  • Stop apache.
  • Switch all your data from the httpd-location.conf config file to the httpd-vhost.conf one; make sure your cookie host and all the other variables are correct for the new site setup.
  • Go into the database and issue the following command:
    mysql> UPDATE vars SET value="" WHERE name="rootdir";
  • Start apache.

This will 1) tell apache you're using a virtual host; and 2) tell Scoop it's not in a directory anymore

That should be all that's required. If you're moving to a different URL, you'll obviously have to update your cookie_host variable in httpd-vhost.conf and the site_url variable under Site Controls.


--
Discuss the art and craft of writing




Switch from location to virtual host | 2 comments (2 topical, 0 hidden)
Display: Sort:

Hosted by ScoopHost.com Powered by Scoop
All trademarks and copyrights on this page are owned by their respective companies. Comments are owned by the Poster. The Rest © 1999 The Management

create account | faq | search