When I goto my application baseUrl ( http://localhost/mysite
http://localhost/mysite ) it loads up the index/index page exactly as it
should. However, if I try  http://localhost/mysite/index/index
http://localhost/mysite/index/index  it gives me a 400 bad request page.

Whats the best way for me to go about trying to figure out whats causing
this? I'm running Zend Server CE and I have apache set up like so:

This httpd.conf is included in the standard httpd.conf

<Location /mysite>
  Order deny,allow
  Allow from all
</Location>

<Directory "C:\Program Files\Zend\sites\mysite\public">
        AllowOverride All
</Directory>

Alias /mysite "C:\Program Files\Zend\sites\mysite\public"

I used to use a virtual host and I am wondering if using an alias has
something 2 do with it. Additionally, I have the standard .htaccess file in
my public folder:

SetEnv APPLICATION_ENV development

RewriteEngine On
RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]
RewriteRule ^.*$ index.php [NC,L]

My actual application was created using zend_tool to keep things as simple
as possible. So if anyone could give me any advice on what might be causing
this or what methods I could attempt to find out myself it would be greatly
appreciated.

Matt
-- 
View this message in context: 
http://www.nabble.com/400-Bad-Request-tp23432700p23432700.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to