linux - Redirect Apache from Default path to specified Directory in Ubuntu Server -
i have ubuntu server has apache2 running in default path. when searched apache2 showed me these paths
/opt/openerp-7.0-12/apache2/ /etc/init.d/apache2 /etc/logrotate.d/apache2 /etc/default/apache2 /etc/apache2 /usr/sbin/apache2 /usr/lib/apache2 /usr/lib/apache2/mpm-event/apache2 /usr/lib/apache2/mpm-itk/apache2 /usr/lib/apache2/mpm-worker/apache2 /usr/lib/apache2/mpm-prefork/apache2 /usr/share/bug/apache2 /usr/share/doc/apache2.2-common/examples/apache2 /usr/share/doc/apache2 /usr/share/apache2 /var/log/apache2 /var/lib/update-rc.d/apache2 /var/cache/apache2 /run/apache2 /run/lock/apache2
now have bitnami version of openerp in path "opt/openerp-7.0-12" in have apache2 @ "opt/openerp-7.0-12/apache2/". in path " opt/openerp-7.0-12/" have other files postgresql,python,bitnami,openerp. how redirect apache2 running in default path " opt/openerp-7.0-12/apache2/" can access files in " opt/openerp-7.0-12/".
sorry, did not question - if want change default path of apache2 directory - can change editing etc/apache2/sites-available/default file. chenge "/var/www" want , restart apache
< virtualhost *:80 > serveradmin webmaster@localhost #documentroot /var/www documentroot /opt/openerp-7.0-12/ <directory />
Comments
Post a Comment