Jump to content

[SOLVED] URL rewrite not working.


xenophobia

Recommended Posts

I having a problem here. Im using the Zend_Controller to do the url rewrite.

when I tested on my Windows server, everything okay. No problem.

 

But when I tried on my Linux server, when I type in this url:

http://www.domain.com/mysite/controller

 

I get page not found. How ever, I have to do this:

http://www.domain.com/mysite/index.php/controller

Only then the page will be displayed.

My apache conf.d is as follow:

 

DirectoryIndex index.php

AllowOverride All

Order Allow,Deny

Allow from All

 

What could be the possible problems? Thanks for reading.

Link to comment
https://forums.phpfreaks.com/topic/163727-solved-url-rewrite-not-working/
Share on other sites

Additional information, the page not found message as follow:

 

This is when I request: http://www.domain.com/<mysite>/controller

 

Not Found

 

The requested URL /opt/netregy/www/<mysite>/index.php was not found on this server.

Apache/2.2.3 (CentOS) Server at www.domain.com Port 80

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.