Maybe I am not setting this up right, but in order to call .cfm file I
have to use port 8080 (where tomcat is), no?
Is it then possible to use htaccess so I can do rewrite url (eg.
mysite:8080/index to point to mysite:8080/index.cfm)?
Thanks,
ML
On Aug 31, 6:17 am, Todd Rafferty <
t...@getrailo.org> wrote:
> The rewrite is in apache (port 80), not tomcat. Tomcat (port 8080) has no
> idea of what the rewrite rules are and doesn't care.
>
> Why are you port switching?
>
>
>
>
>
>
>
>
>
> On Wed, Aug 31, 2011 at 5:55 AM, ML <
min.c....@gmail.com> wrote:
> > Hi,
>
> > I installed Railo on Tomcat 7 on top of Apache 2.2 on my laptop
> > running Windows Vista. Apache runs on port 80, and Tomcat on port
> > 8080.
>
> > Everything works ok, except now I am trying to do mod rewrite via
> > htaccess file. I created a simple rule to forward oldFile.htm to
> > newFile.htm.
>
> > When I visithttp://mysite:80/oldFile.htm, it correctly pulls
> > newFile.htm. So I know that there is nothing wrong with the htaccess
> > file or the httpd.conf setting. However, when I go to
> >
http://mysite:8080/oldFile.htm,
> > the tomcat server is giving a 404 status. It doesn't seem to read the
> > htaccess file.
>
> > Any idea of what I did wrong? I spent hours trying out different
> > things and searching the web, but couldn't figure it out. I did
> > manage to get htaccess working on our live server that runs linux
> > (ubuntu).
>
> > Thank you.
>
> --
> ~Todd Rafferty*
> Volunteer** *Community Manager