2 Replies Latest reply on Oct 15, 2008 9:05 AM by mariano13

    Php maping problem

    mariano13

      Hi everyone, I recently installed the 1.0.0 GA version just for testing purposes. But i'm having problems with my website, its urls are like

      index.php/something
      index.php/something/something?param1=data
      ...

      First with the following mappings, i get a 404 error when i try to access any url on my website

      <servlet-mapping>
      <servlet-name>php-servlet</servlet-name>
      <url-pattern>*.php</url-pattern>
      </servlet-mapping>
      <servlet-mapping>
      <servlet-name>phps-servlet</servlet-name>
      <url-pattern>*.phps</url-pattern>
      </servlet-mapping>

      But when i add the following mapping...

      <servlet-mapping>
      <servlet-name>php-servlet</servlet-name>
      <url-pattern>/</url-pattern>
      </servlet-mapping>

      everyting seems to work, my php pages are been displaying fine, but now the server parses every css, javascript, image file before sending them to the client. How can i fix this? What am I missing?