Welcome Guest, Not a member yet? Register   Sign In
crazy debate on .htaccess
#1

[eluser]Todd S[/eluser]
I'm having a debate with my partner. We've got a CI application set up in a specific sub-folder, domain.com/ci.

PHP5 is the default install for our server, but our application requires php4 so in our "ci" folder we've already set up an .htaccess file that fires off php4:

Code:
AddType application/x-httpd-fastphp .php
Action application/x-httpd-fastphp /cgi-bin/php-cgi

Works great. We haven't yet been able to remove index.php from our URLs, but we'll sort that out. In the meantime, my partner insists we should also be able to mask or eliminate the "ci" folder name in our URLs. Does this make sense? I could see possibly removing the folder name if we were running at the root, but we're not. It's the "ci" folder that sets the table for php4.

Any thoughts?
#2

[eluser]coolfactor[/eluser]
I don't know about that. Is there a different site located at domain.com? (without the /ci)?

/ci is required in order to trigger the front-controller located at that path.




Theme © iAndrew 2016 - Forum software by © MyBB