Hi Kexiao Liao, I'm glad to see you're trying out the demo app after attending the webinar this morning! :-)
It sounds like either the mod_rewrite module of Apache is not enabled on this server, or else your directory is prohibited from using Rewrite directives. Either of these could be true. You need to talk to the administrator of your Apache instance to find out. Regards, Bill Karwin > -----Original Message----- > From: Kexiao Liao [mailto:[EMAIL PROTECTED] > Sent: Wednesday, August 08, 2007 12:49 PM > To: [email protected] > Subject: [fw-general] .htaccess location > > > If I can not control the httpd.conf file for the Apache Web > Server, my domain name is ctresearch.ccf.org, and I have to > access Zend Framework MVC Demo through following url:<br/> > > ctresearch.ccf.org/DataEntry/zfgrid/document_root/ > > I put .htaccess under document_root directory and it has > following contents: > RewriteEngine on > RewriteBase /DataEntry/zfgrid/document_root/ RewriteRule > !\.(pdf|php|js|ico|txt|gif|jpg|png|css|rss|zip|tar\.gz)$ > index.php > > When I try to access MVC Demo codes, only following url works well: > http://ctresearch.ccf.org/DataEntry/zfgrid/document_root/index/index > > The link > http://ctresearch.ccf.org/DataEntry/zfgrid/document_root/grid/ > show/table/Patient > does not work. Can anyone give me some help? Thanks in advance. > -- > View this message in context: > http://www.nabble.com/.htaccess-location-tf4238644s16154.html# > a12060594 > Sent from the Zend Framework mailing list archive at Nabble.com. > >
