Hi everyone,

Im having real trouble trying to get URL Rewriting working on my
redhat apache2 prod server.

When going to:
http://fuzzed/static/watch

it just displays
"Not Found
The requested URL /chart was not found on this server."

But http://fuzzed/index.php/static/watch works fine.

mod_rewrite is built-in so don't need to load it,  it comes up on
phpinfo() so is definatly there.

Any help would be much appreciated!

John Cleveley

Here's my configs...

.htaccess -  tried messing with permissions but still no go
---------------

Options +FollowSymLinks +ExecCGI

<IfModule mod_rewrite.c>
  RewriteEngine On

  # uncomment the following line, if you are having trouble
  # getting no_script_name to work
  RewriteBase /

  # we skip all files with .something
  RewriteCond %{REQUEST_URI} \..+$
  RewriteCond %{REQUEST_URI} !\.html$
  RewriteRule .* - [L]

  # we check if the .html version is here (caching)
  RewriteRule ^$ index.html [QSA]
  RewriteRule ^([^.]+)$ $1.html [QSA]
  RewriteCond %{REQUEST_FILENAME} !-f

  # no, so we redirect to our front web controller
  RewriteRule ^(.*)$ index.php [QSA,L]
</IfModule>

# big crash from our front web controller
ErrorDocument 500 "<h2>Application error</h2>symfony application
failed
to star$

virtual host - at end of httpd.conf
---------------

<VirtualHost fuzzed:80>

   ServerName fuzzed:80
   DocumentRoot /home/html/fuzzed/web
   DirectoryIndex index.php
   #Using simlink for sf files
   #ErrorLog /var/log/apache2/error.log
   #CustomLog /var/log/apache2/access.log combined

   <Directory "/home/html/fuzed/web/sf">
     AllowOverride All
     Allow from All
  </Directory>

   <Directory "/home/html/fuzzed/web">
     AllowOverride All
     Allow from All
   </Directory>

</VirtualHost>


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to