×
May 5, 2011 · You need to change the DocumentRoot setting in your httpd.conf file. Chances are it will be under something like /etc/apache2/conf/httpd.conf.
Missing: q= 3A% 2Fstackoverflow. 2Fquestions% 2F5891802%
People also ask
Jan 11, 2017 · I am trying to change my Apache root server directory from the default /var/www/html on my Debian server.
Missing: q= https% 3A% 2Fstackoverflow. 2Fquestions% 2F5891802%
Aug 27, 2013 · To change Apache's root directory, run: cd /etc/apache2/sites-available Then open the 000-default.conf file using the command: nano 000-default.conf
Missing: q= 3A% 2Fstackoverflow. 2Fquestions% 2F5891802%
Aug 7, 2024 · Step 1: Locate the Apache Configuration File · Step 2: Edit the Configuration File · Step 3: Update Permissions · Step 4: Test the Configuration.
Feb 12, 2013 · Edit the httpd.conf file and/or the vhosts.conf file for the site wish to change. The Directory directive will let you specify where the files for this site ...
Missing: 3A% 2Fstackoverflow. 2Fquestions% 2F5891802%
Apr 26, 2010 · You should have a file: /etc/apache2/sites-available/default this is where you would modify the default website's document root.
Missing: https% 3A% 2Fstackoverflow. 2Fquestions% 2F5891802%
Sep 18, 2011 · I am also running PHP/5.2.9. I am hoping that somebody can advise me on the following: - I want to change the location of my htdocs folder ...
Step - 1: Create a directory. $ mkdir /home/masud/www/. Step - 2: Open apache2 configuration file.