create subfolder in localhost with Openstack installed

asked 2014-11-19 03:36:40 -0600

rok gravatar image

Hi, I have devstack installed (all-in-one version), so Apache is pointing to it on localhost. How can I create a folder http://localhost/foo ? I have some files needing to be placed there. Obviously is no more var/www and looking in etc/apache2/sites-enabled I have horizon.conf and keystone.conf but I can't understand how to modify them.. Any help will be appreciated. Thanks

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2014-11-21 03:27:29 -0600

rok gravatar image

I did it! I simply changed the listening port of horizon in this way: 1) go to /etc/apache2/site-available e re-enable 000-default.conf -> sudo a2ensite 000-default.conf 2) edit file etc/apache2/site-available/horizon.conf changing the port from 80 to whatever, for example 8999 (add also Listen 8999) 3) reboot Apache -> sudo service apache2 restart

Now you can use the dashboard going to http://localhost:8999/ and http//localhost/foo putting a "foo" folder in var/www/html

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools


Asked: 2014-11-19 03:36:40 -0600

Seen: 150 times

Last updated: Nov 21 '14