Re: [us...@httpd] url rewrite help

2010-08-13 Thread Rich Bowen
On Aug 13, 2010, at 11:22 AM, Matthew Smith wrote: I found this, which is what I am trying to do: http://blog.razuna.com/2008/02/04/custom-404-pages-with-coldfusion-8-macos-x-and-the-difference-with-iis/ I did not see mod_rewrite listed in the modules at the top of http.conf, so I added: Lo

Re: [us...@httpd] url rewrite help

2010-08-13 Thread Matthew Smith
I found this, which is what I am trying to do: http://blog.razuna.com/2008/02/04/custom-404-pages-with-coldfusion-8-macos-x-and-the-difference-with-iis/ I did not see mod_rewrite listed in the modules at the top of http.conf, so I added: LoadModule rewrite_module libexec/apache2/mod_rewrite.so

Re: [us...@httpd] url rewrite help

2010-08-12 Thread David Ricar
Error pages are set in apache configs too, so just change that line... Matthew P. Smith wrote: Hi, I have this in the conf: DirectoryIndex index.cfm I am running coldfusion 9. I am tyring to use the onMissingTemplate function to call a custom 404. The application server does not invoke

Re: [us...@httpd] url rewrite help

2010-08-11 Thread Matthew Smith
Hi, I have this in the conf: DirectoryIndex index.cfm I am running coldfusion 9. I am tyring to use the onMissingTemplate function to call a custom 404. The application server does not invoke this function for directory calls, so I need to redirect to /index.cfm On Wed, Aug 11, 2010 at 5:

Re: [us...@httpd] url rewrite help

2010-08-11 Thread Matthew P. Smith
Hi, I have this in the conf: DirectoryIndex index.cfm I am running coldfusion 9. I am tyring to use the onMissingTemplate function to call a custom 404. The application server does not invoke this function for directory calls, so I need to redirect to /index.cfm On Wed, Aug 11, 2010 at 5:

Re: [us...@httpd] url rewrite help

2010-08-11 Thread David Ricar
I'd use default index and extend it for .cfm as this: DirectoryIndex index.html index.cgi index.pl index.php index.xhtml index.htm index.cfm Cheers David Matthew P. Smith wrote: I need to rewrite requested urls from this: domain.com/some-directory/ to dom

[us...@httpd] url rewrite help

2010-08-11 Thread Matthew P. Smith
I need to rewrite requested urls from this: domain.com/some-directory/ to domain.com/some-directory/index.cfm Can someone provide an example? I need it to apply to all directory only requests. I looked here, but did not see how to do it. http://httpd.apache.org/docs/2.0/misc/rewriteguide.htm