Thursday, May 9, 2024
 Popular · Latest · Hot · Upcoming
0
rated 0 times [  0] [ 0]  / answers: 1 / hits: 812  / 2 Years ago, sat, june 18, 2022, 5:48:58

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.


More From » server

 Answers
2

The loaded configuration file is at:

/etc/php5/apache2/php.ini



There the 'auto_prepend' file needs to be changed.


[#35827] Monday, June 20, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
rcraftemur

Total Points: 118
Total Questions: 119
Total Answers: 144

Location: Turks and Caicos Islands
Member since Sun, Mar 7, 2021
3 Years ago
rcraftemur questions
;