Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I inherited a Codeigniter based PHP application. I'm trying to setup my development workstation to mimic the production system for some development work. An example url would be http://example.production/start/PAF/paf the only way I can get it to work on my dev site is http://example.local/start.php/PAF/paf. The codeigniter application/config.php uses start as the index_page instead of index.php. On the production system there are no rewrite rules in the httpd.conf or .htaccess. How is it possible that the ".php" is being removed without rewrites? Is there another place I should be looking for the rules?

thanks

share|improve this question

2 Answers 2

If you look in httpd.conf, you should be able to find the Include line(s); the default Apache install uses the following on most systems:

Include conf.d/*.conf

...but other paths are certainly possible. Track down the configuration files and see if the rewrite rules you're looking for are in there.

Cheers!

share|improve this answer

Or, its simply rewriting within the /start/ directory.. ;-)

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.