change default folder for apache

I have installed a WordPress instance using Bitnami.

Currently 127.0.0.1 takes my to the file in the C:Bitnamiwordpress-4.4.2-1apache2htdocs

Read More

I want 127.0.0.1 to take the user to C:/Bitnami/wordpress-4.4.2-1/apps/wordpress/htdocs

Changes i have done:
Edit the httpd.conf file

DocumentRoot "C:/Bitnami/wordpress-4.4.2-1/apps/wordpress/htdocs"
<Directory "C:/Bitnami/wordpress-4.4.2-1/apps/wordpress/htdocs">
    Options Indexes FollowSymLinks
    AllowOverride None
    Order allow,deny
    Require all granted
    allow from all
</Directory>

Restarted apache server

Still going to 127.0.0.1 shows the index.php page under C:Bitnamiwordpress-4.4.2-1apache2htdocs

What am i missing?

Related posts

1 comment

  1. I don’t know about Windows, but on my Ubuntu system, I also had to change document root in the sites-enabled/000-default.conf file. Just make sure all configuration files are updated correctly to point to your new document root.
    Hope this helps!

Comments are closed.