.htaccess configuration issue
Posted
by
Hammad Haider
on Server Fault
See other posts from Server Fault
or by Hammad Haider
Published on 2010-12-21T10:13:01Z
Indexed on
2010/12/21
10:55 UTC
Read the original article
Hit count: 338
.htaccess
Hi,
i am using two website on one domain like: www.example.com & www.example.com/site2, i want to know that on my site2, in my site2 their are 2 folders name folder1 and folder2 my index.php is in folder2 but the defination of methods defined in folder2 i am including the files through .htaccess but i am unable to get those files which are in folder1 and getting Error-500 and 400 on browser and i am using following lines but they are not working in .htaccess file
The line below works fine
RedirectMatch ^/$ http://www.example.com.pk/site2/views/
AllowOverride All php_value include_path ".:/home/example/public_html/site2/system"
waiting for your quick response.
Thanks
Regards, Hammad Haider.
© Server Fault or respective owner