Igal Sapir
Lucee Core Developer
Lucee.org
--
You received this message because you are subscribed to the Google Groups "Lucee" group.
To unsubscribe from this group and stop receiving emails from it, send an email to lucee+un...@googlegroups.com.
To post to this group, send email to lu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/cbc06aca-7ad9-44bb-8d2e-428e682fdd2b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
allowLinking="true"
HTH,To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/0e90d4f0-b01c-47af-841e-4ee6e4243d92%40googlegroups.com.
I’m not seeing where this goes in context.xml
<Context useHttpOnly="true">
<!-- Default set of monitored resources -->
<WatchedResource>WEB-INF/web.xml</WatchedResource>
<!-- Uncomment this to disable session persistence across Tomcat restarts -->
<!--
<Manager pathname="" />
-->
<!-- Uncomment this to enable Comet connection tacking (provides events
on session expiration as well as webapp lifecycle) -->
<!--
<Valve className="org.apache.catalina.valves.CometConnectionManagerValve" />
-->
</Context>
I’m really sorry for being able to get this.
-pat-
--
You received this message because you are subscribed to a topic in the Google Groups "Lucee" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/lucee/0bQpWRQLiFY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to lucee+un...@googlegroups.com.
To post to this group, send email to lu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/08875A21-B43E-4D32-9F2B-C7CD9E01D3A8%40silowebworks.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/002f01d0abb1%24ca972ad0%245fc58070%24%40westhold.com.
Igal Sapir
Lucee Core Developer
Lucee.org
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/3D1D845D-0F7F-4D69-8BBF-80269E59C7BF%40silowebworks.com.
So I add this line right under “<Context useHttpOnly="true">
allowLinking="true"
??
Also FYI: From https://tomcat.apache.org/tomcat-5.5-doc/config/context.html:
“NOTE: This flag MUST NOT be set to true on the Windows platform (or any other OS which does not have a case sensitive filesystem), as it will disable case sensitivity checks, allowing JSP source code disclosure, among other security problems.”
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/3D1D845D-0F7F-4D69-8BBF-80269E59C7BF%40silowebworks.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/5585FA4C.6090406%40lucee.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/EED41C88-3824-4CF2-AD91-1D0EBA183CEB%40silowebworks.com.
Thank you.
Re-iterating
Folder is “c:\inetpub\wwwroot\websites\my_site”
IIs7 Alias is “my_site”
localhost/my_site/index.htm WORKS
localhost/my_site/index.cfm FAILS
Any htm, txt, etc in my_site works,
any cfm fails
There has to be a setting somewhere that I am missing.
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/EED41C88-3824-4CF2-AD91-1D0EBA183CEB%40silowebworks.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/004801d0abb6%2468e8cff0%243aba6fd0%24%40westhold.com.
If I put in c:\inetpub\my_site - DOESN’T WORK
If I put in c:\railo\tomcat\webapps\ROOT\websites\my_site – DOESN’T WORK
If I put in c:\inetpub\wwwroot\my_site it DOES work
But I already knew that c:\inetpub\wwwroot\my_site would work – I just didn’t understand why c:\inetpub\wwwroot\websites\my_site would not work
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/55860041.7040900%40lucee.org.
> localhost/websites/my_site/index.cfm
Exact same issue
But if I go to localhost/websites/my_site/index.htm it works
It’s just the cfm files that don’t seem to get mapped correctly
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/5586020D.6070907%40lucee.org.
I take that back…
localhost/websites/my_site/index.htm
localhost/websites/my_site/index.cfm
both generate 500.23 internal server errors
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/5586020D.6070907%40lucee.org.
I take that back…
localhost/websites/my_site/index.htm
localhost/websites/my_site/index.cfm
both generate 500.23 internal server errors
email resent to clean up the posts
127.0.0.1 dev.my_site.com
<Host name="dev.my_site.com" appBase="webapps" unpackWARs="true" autoDeploy="true" xmlValidation="false" xmlNamespaceAware="false">
<Context path="" docBase="c:/inetpub/wwwroot/websites/my_site" />
</Host>
Unfortunately, I cannot use that method. I have dozens of sites but none are using domain names. All are referenced by the ip address.
etc
I can make it work if I move each of the sites from the websites dir to c:\inetpub\wwwroot for example:
c:\inetpub\wwwroot\site1
c:\inetpub\wwwroot\site2
c:\inetpub\wwwroot\site3
Then, IIS works as it should and, so does Railo/Lucee
I just didn’t want to have to move everything because they all share common files.
Thanks to everyone for their advice and help.
From: lu...@googlegroups.com [mailto:lu...@googlegroups.com] On Behalf Of ADK
Sent: Saturday, June 20, 2015 9:50 PM
To: lu...@googlegroups.com
Subject: Re: [Lucee] Virtual Dir in Railo/Lucee and IIS7
Your application server is not going to recognize/pick-up IIS virtual directories. Your HTTP requests are going to IIS and then sending off all cfm/cfc to Lucee/Tomcat to interpret. So, your Virtual Directories are respected by all non-cf requests, but the cf requests will look for those files in whatever folder you told Tomcat to look for them.
I don't ever use IIS, so I don't know how things get wired up, but I would try adding an entry to your hosts file, e.g.: