1

I'm trying to rename my apache2 localhost folder.

I have already gone to /etc/apache2/sites-enabled/site-name and changed the following lines in the Document:

DocumentRoot /home/user/public_html
Directory /home/user/public_html

'public_html' is then the new name of my localhost.

Then i restarted the apache2 server, but this does not work as when i type 'localhost' in my browser i just get an empty screen.

What else must I do to change the folder name of my localhost?

My system is an L-Ubuntu 11.04, by the way.

1
  • 1
    Do you have the right settings related to mod_rewrite (only if you have the module enabled of coures).
    – OrangeTux
    Feb 8, 2013 at 10:14

2 Answers 2

2

Try to add correct port in /etc/apache2/ports.conf

0

The loaded configuration file is at:
/etc/php5/apache2/php.ini

There the 'auto_prepend' file needs to be changed.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .