Welcome Guest, Not a member yet? Register   Sign In
Codeigniter install on subdirectory (htaccess question)
#6

[eluser]weboap[/eluser]
i usually use the line in question to give access to certain files/directories...

both .htaccess are similar to each other to certain point yours add the protection for /system and application, but in my opinion these 2 folders in production environment shouldn't be in the web folder in the 1st place.
if we consider that public_html is your web root for your project i will use for eg :
Code:
/application
/application2
/system
/public_html
/public_html/index.php
/public_html/.htaccess
/public_html/your_sub_folder/index.php
/public_html/your_sub_folder/.htaccess

in both index.php change the path of system & application accordingly including the name of one of your apps application to application2

if somebody have a better idea. welcome!

hope it help


Messages In This Thread
Codeigniter install on subdirectory (htaccess question) - by El Forum - 06-05-2012, 09:11 AM
Codeigniter install on subdirectory (htaccess question) - by El Forum - 06-05-2012, 09:13 AM
Codeigniter install on subdirectory (htaccess question) - by El Forum - 06-05-2012, 09:51 AM
Codeigniter install on subdirectory (htaccess question) - by El Forum - 06-05-2012, 10:03 AM
Codeigniter install on subdirectory (htaccess question) - by El Forum - 06-05-2012, 10:14 AM
Codeigniter install on subdirectory (htaccess question) - by El Forum - 06-05-2012, 01:21 PM
Codeigniter install on subdirectory (htaccess question) - by El Forum - 06-05-2012, 01:28 PM



Theme © iAndrew 2016 - Forum software by © MyBB