Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Moving a Virtual Directory in Apache?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Liquid Crystal
Tux's lil' helper
Tux's lil' helper


Joined: 06 Nov 2003
Posts: 77

PostPosted: Sat Feb 04, 2006 2:26 pm    Post subject: Moving a Virtual Directory in Apache? Reply with quote

Hi All,

I have installed several applications as virtual directories in apache2 using:
Code:
# webapp-config -I -d drupal drupal 4.6.5
# webapp-config -I -d phpmyadmin phpmyadmin 2.7.0_p1


Which I found very useful and helpful. However, I have decided later to move on of the applications to the root forlder of apached (/var/www/localhost/htdocs). For example, I wanted to move the drupal I just installed earler using webapp-config (in /var/www/localhost/htdocs/drupal) to be moved to the root of the apache folder.

I checked the man page of webapp-config but couldn't find anything related to "moving" applications, it showed how to install, clean and upgrade together with other useful options, but as far as what I have read, moving applications to other directories was not there. On the other hand, would it harm/corrupt webapp-config if I just moved the files manually this way?
Code:
cp -rv /var/www/localhost/htdocs/drupal/* /var/www/localhost/htdocs/

_________________
Making *nix user friendly is easier than debugging Windoz
Tuxntosh web site The *nix Graphics Web Site
(Warning! Not for M$ Windowz users!)
Back to top
View user's profile Send private message
nephros
Advocate
Advocate


Joined: 07 Feb 2003
Posts: 2139
Location: Graz, Austria (Europe - no kangaroos.)

PostPosted: Sat Feb 04, 2006 9:16 pm    Post subject: Reply with quote

Why not install it a second time with webapp-config, copy over any configuration files and customizations and then uninstall the old version, again using webapp-config?
_________________
Please put [SOLVED] in your topic if you are a moron.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot 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