Jump to content

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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.