Can Document change using .htaccess on server
-
- Posts: 7
- Joined: Mon Dec 29, 2014 3:32 pm
Can Document change using .htaccess on server
Hi Friends, Can I change my document root folder on server using .htaccess file? Please help me .
Re: Can Document change using .htaccess on server
Yes, you can Document change using .htaccess on server.
-
- Posts: 12
- Joined: Thu Jan 22, 2015 4:01 pm
Re: Can Document change using .htaccess on server
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.
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.