Can Document change using .htaccess on server

Description of your first forum.
Post Reply
Oliviajohnson
Posts: 7
Joined: Mon Dec 29, 2014 3:32 pm

Can Document change using .htaccess on server

Post by Oliviajohnson » Mon Dec 29, 2014 3:41 pm

Hi Friends, Can I change my document root folder on server using .htaccess file? Please help me .

Brown
Posts: 8
Joined: Mon Dec 29, 2014 4:44 pm

Re: Can Document change using .htaccess on server

Post by Brown » Wed Jan 21, 2015 10:18 am

Yes, you can Document change using .htaccess on server.

freyacooper
Posts: 12
Joined: Thu Jan 22, 2015 4:01 pm

Re: Can Document change using .htaccess on server

Post by freyacooper » Thu Apr 09, 2015 10:11 am

The document root is the directory where the application will begin looking for your .php files.
To change the document root, you may supply the path to the directory (relative to your application root directory) as an argument to the boot script.
It is not necessary to change configuration files or rewrite rules to define the document root.

Post Reply