Defaulting to index.cfm

I'm responsible for several CF sites on the same server and
each new project provides new challenges - this one is really
irritating me though. I'm using a CF breadcrumb script to map out
where users are in the site; it searches the directory and lists
the folders as links. Each page is therefore an index.cfm in a
seperate folder (eg home/index.cfm).
I haven't built this site in any different way to any others
(so i thought) and were it not for the breadcrumbs the issue
wouldn't be such a problem, i'd just include "index.cfm" in any
menu links.
Clicking on a breadcrumb link just brings a "Forbidden"
error. If there's an index.html page in the folder it defaults to
that no problem.
Any ideas?

are you on IIS or Apache?
where do the links in the breadcrumb menu point to: just a
folder or
actual index.cfm file in the folder?
it sounds like directory browsing is allowed on your
sub-folders, but
not for the user CF is running under... though i might be
wrong...
Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com

Similar Messages

  • CFMX61 (updater) does not parse index.cfm

    Actually, it will only parse the file if it is asked for
    explicitly in the URL.
    I updated my RedHat AS3 / Coldfusion 6.1 with the 6.1
    Updater. After restarting, everything works fine except if you use
    a URL that is assuming an index.cfm file is present. What you get
    then is a raw CFM file. But if you add index.cfm to the URL it
    works fine.
    Apache has index.cfm configured as one of its "directory"
    files
    (DirectoryIndex index.cfm index.html default.html index.htm
    index.html.var).
    I have installed the connector hotfix, tried taking the
    index.cfm out of the Apache configuration (it totally stopped
    working) and still not luck.
    Does anyone have a "what to try next." idea

    I found the problem. In the httpd.conf file where the jrun
    module connector is loaded, the line "AddHandler jrun-handler .cfm
    .cfml .cfc .jsp .jws" needed the .cfm .cfml and .cfc extensions
    added. There probably are not two people in the world who could
    explain why these extensions were not in the line already.

  • Index.cfm file

    Hi ,
    I am new to coldfusion and i would like to have the following
    items clarified.
    1) Why we need to have Index.cfm file
    2) What is the diff between Application.cfm and
    Application.CFC
    I removed the index.cfm file from directory and accessed the
    application and I don't find any difference
    Pls advice.
    Thanks,
    Rams

    Just to clarify/expand on the previous answer - the index.cfm
    file allows you to access a URL without actually specifying the
    file name. That is, if you point your browser to www.mydomain.com/
    then the server will look for a default file in the root directory.
    The default file is typically index.html or default.html as stated
    previously. On a web server using CF files it is often index.cfm.
    The actual name of the default file is specified in the web server
    such as IIS on Windows servers.
    If you specify a URL such as the above without specifying the
    filename and there is no default file it will produce an error.
    If you do specify a filename in the URL -
    www.mydomain.com/main.cfm - then the existence of the default file
    is not an issue.
    Ken

  • File not found: index.cfm

    Hi,
    I have a new ColdFusion 9 install on a CentOS server with Apache 2.2
    I applied the 9.0.1 update.
    The install is Standard, not Enterprise.
    I can access the admin at /CFIDE/... perfectly.
    The problem is when I try to access the first domain I have setup on server, where I installed ColdFusion on Wheels. When I type (using example instead of real domain) www.example.com or www.example.com/index.cfm, I get a ColdFusion error screen saying that it cannot find index.cfm . But index.cfm is there.
    I checked ColdFusion logs, and I have noticed that apparently, somewhere, two single quotes are being appended to the file name.
    This is what I see in cfserver.log:
    05/14 09:28:47 Error [jrpp-140] - File not found: /index.cfm The specific sequence of files included or processed is: /home/folder/folder/index.cfm''
    (with those two single quotes in the end. The file, without the single quotes, exists. The path included in the log file is the real valid path)
    From application.log:
    "Error","jrpp-140","05/14/12","09:28:47",,"File not found: /index.cfm The specific sequence of files included or processed is: /home/folder/folder/index.cfm'' "
    Here at application.log it is more obvious that two single quotes seem to be appended to the index.cfm file name.
    Can any one help with this? Could be these quotes the problem, and if so, where do I need to change? Any help with this will be really appreciated.
    Thanks.
    Edit: adding text from exception.log in case it helps
    "Error","jrpp-146","05/14/12","10:24:18",,"File not found: /index.cfm The specific sequence of files included or processed is: /home/folder/folder/index.cfm'' "
    coldfusion.runtime.TemplateNotFoundException: File not found: /index.cfm
            at coldfusion.filter.PathFilter.invoke(PathFilter.java:97)
            at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:70)
            at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:2 8)
            at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38)
            at coldfusion.filter.NoCacheFilter.invoke(NoCacheFilter.java:46)
            at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38)
            at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
            at coldfusion.filter.CachingFilter.invoke(CachingFilter.java:62)
            at coldfusion.CfmServlet.service(CfmServlet.java:200)
            at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89)
            at jrun.servlet.FilterChain.doFilter(FilterChain.java:86)
            at coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:42 )
            at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46)
            at jrun.servlet.FilterChain.doFilter(FilterChain.java:94)
            at jrun.servlet.FilterChain.service(FilterChain.java:101)
            at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:106)
            at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
            at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:286)
            at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:543)
            at jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:203)
            at jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:320)
            at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428)
            at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:266)
            at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)

    I have solved this problem and will leave the solution here in case it helps someone.
    It was a permissions issue.
    This server has cpanel. The account files are stored at /home/account/public_html folder.
    The folder belongs to the account user, and nobody group.
    I added coldfusion user to nobody group, and also to the account user group.
    Then restarted coldfusion (without restarting it didn't work).
    And now coldfusion finds the index.cfm file.

  • I am using a program that opens a document in adobe and I need to save it back in the program.  I get this message: this document is trying to connet to: fill://index.cfm?event=vendorsonly.submiteventform.  Help

    I am using a program that opens a document in adobe and I need to save it back in the program.  I get this message: this document is trying to connet to: fill://index.cfm?event=vendorsonly.submiteventform.  Help

    Have you contacted the people who make the program? It sounds like something special from that program.

  • Index.cfm in wwwroot used for all IIS sites

    Just this morning it seems that all of our cf sites are pulling the same index.cfm file from our root cf8 directory although they are set in IIS to point to their correct directories. This has always worked for years and nothing has been changed. I've looked high and low and cant seem to find a solution. Any help would be appreciated

    Check in CF Administrator to see if someone turned on "Cache web server paths" (it's on the Server Settings > Caching page).
    -Carl V.

  • CF8.0.1 Standard (32bit) on Leopard 10.5.7 - Don't have permission to access /CFIDE/administrator/index.cfm

    Attempting to install CF8.0.1 (32bit) on Leopard 10.5.7 server, keep getting error message "You don't have permission to access /CFIDE/administrator/index.cfm".  Followed instructions from CF release notes "CF 8 update 1" part 2.  Switched Apache from 64-bit to 32-bit mode (sudo lipo httpd -thin i386 -output httpd); using conf file (httpd.conf) in /etc/apache2.  *Am confused by these instructions: (a) instructions for installing 64-bit CF8.0.1 on Mac OS X Leopard say to use "etc/httpd" for 32-bit installations.  but (b) instructions found at end of document under Mac OS X Leopard say that you can configure 32-bit CF on Leopard, but you must use 64-bit Apache in 32-bit mode.... and the location for conf file (httpd.conf) is in "etc/apache2".
    I'm attempting to install/run CF8.0.1 Standard (32-bit) via Apache2 (32-bit mode), but am unable to get access to /CFIDE/administrator/index.cfm to finish installation.  File permissions for the CFIDE folder are System=RWX, Wheel=RX, Everyone=RX.  What am I missing here?

    I am having the same issue... Any help appreciated..

  • Battling to download PDF via index.cfm file

    Hi.
    I'm trying to download an pdf from alink to a index.cfm file
    - Firefox downloads a 0byte file which then dissapears immediately,
    whereas IE7 at least recognises a PDF file, but still downloads it
    as a 0byte file which then wont open anyway :(
    Any ideas??

    Wrong forum (this is Digital Editions), but ...
    I find .pdf files often won't launch properly on my Win8.1.  It starts the process but it doesn't do the right thing.
    Try making sure you don't have any copies of Reader working (AcroRd32.exe on my 32 bit Win 8.1).
    Start a copy from the start screen (or start menu if you've set one up) BEFORE you try to access the file.
    Now try to do the download or open it from the downloads directory.
    I find that way the file will open properly.

  • Default Apache Indexes: add "mail to" button

    Howdy,
    I run a LAMP server and I am currently hosting some .pdf's for college, being shown using the default apache Indexes option (with some .css I found)
    I would like to add a button, visible when hovering, to mail each file to an email address (to be asked each user), specifically, a kindle address (I don't think it changes anything).
    This is the general idea...
    I don't know the AMP part of LAMP. I hunt around for the right scripts and tweak the bits I understand.
    Both msmtp and mutt are installed and working properly.
    Is there a standard way to accomplish what I want? What options do I have?
    Feel free to send me somewhere else, just asking you guys because I like this community. Been following the wiki/forums while trying to properly setup my arch server^^
    Thank you for your time
    Last edited by fhtagn (2011-06-13 00:50:30)

    AFAIK there is no way to actually modify the output of mod_autoindex apart from adding a Header, Footer and CSS. You might need your own script to handle this.

  • 404 with link to shopping cart index.cfm

    I have tried to reference the file several ways without success.  Please help me sort this out.  Thanks!
    <a href="/index.cfm/fuseaction/YourShoppingCart.additem/productid=1001">add to cart</a>
    <a href="./index.cfm/fuseaction/YourShoppingCart.additem/productid=1001">add to cart</a>
    <a href="http://www.theartoflovingcatsanddogs.com/index.cfm/fuseaction/YourShoppingCart.additem/pro ductid=1001">add to cart</a>

    Or, naturally,
    <a href="index.cfm?fuseaction=YourShoppingCart.additem&productid=1001">add to cart</a>

  • Adding Facebook, Twitter links to index.cfm

    Hey all,
    Brand new to CFM and need to add the Facebook sharer and twitter links to .cfm page and was wondering if anyone can point me in the right direction?
    Thanks.

    As a starting point, I am starting here.
    <code>
    <script>      
        function fbs_click()   
                u = location.href; t = document.title;
                window.open('http://www.facebook.com/sharer.php?u=' + encodeURIComponent(u) +
                '&t=' + encodeURIComponent(t), 'sharer', 'toolbar=0,status=0,width=626,height=436');
                return false;
    </script>
    <a rel="nofollow" href="http://www.facebook.com/share.php?u=<url>" onclick="return fbs_click()" target="_blank">Share on Facebook</a>
    </code>
    So I have that working where it is grabbing the location.href and document title fine of the page, but it the implementation doesn't seem to be the same on a .cfm page.
    I am only now starting to become familiar with <cfoutput> and coldfusion syntax in general. I have never seen it before today.
    I have done dynamic development, but not with CF, only with Java and C#.
    The stories are news stories that are rotated in and out and changed on a weekly basis within the index.cfm page.

  • "File not found: /Adobe_CFC_Generator/handlers/index.cfm"

    Ok I know this is going to turn out to be something silly.  But I cannot seem to get the Extensions to function.  I get the error "File not found: /Adobe CFC Generator/handlers/index.cfm" every time I attempt to use the CFC generator and similar errors for ther other extensions.
    I am using ColdFusion 9 Standalone Server and Apache 2.2.x on Windows XP SP3.
    ColdFusion is installed to:  C:\ColdFusion9
    Apache is installed to C:\Apache
    The Apache Documents folder is mounted to C:\wwwroot rather then the traditional htdocs.
    All Websites are within the wwwroot and set up using VirtualHosts and all sites run off of port 80.  I am using a hosts file to make the domain names back to this development system.
    When installing coldfusion the document root was set to C:\wwwroot thus the CFIDE is within that director.
    The Server is configured to use the local systems hostname on Port 80.
    Server Home = C:\coldfusion9
    Document Root = C:\wwwroot
    Version 9.0.X
    I have access to the RDS Dataview and fileview.
    I have attempted to use a virtualhost mapping to the extensions already.  I have also changed the name of the folder to Adobe_CFC_Generator and set a host setting for it to resolve to the systems static ip address and then used the virtualhost mapping.  No luck so far.  The files are there in the c:\wwwroot directory.  When I first looked a the settings for the extension it stated that the path was C:\wwwroot/Adobe CFC Generator. (Note the slashes.)  So I modified the servers document root to be C:/wwwroot.  Still no go.
    The extensions install location is currently C:/wwwroot/Adobe_CFC_Generator.
    Again I am sure this is something stupid simple.  Anyone have any idea what I am missing?

    I did each.  The files were accessable.  However it still would not function and then I noticed that in the application log file there was a note that the location it was looking for the files were in the CFIDE directory.
    So I copied the folders into that directory and mode no other changes and Bing!  It worked.
    This may be related to my development setup.  It is perhaps not a normal setup.  I have apache, cf9 and the wwwroot folder all off the root of the c: drive.  I use a hosts file to map the actual IP address of my system to the domain names rather then using the loopback.   Apache uses virtual hosts to locate each site.   When coldfusion is installed I use that wwwroot to place the cfide directory.
    The error that it was showing in the application log was:
    "Error","jrpp-9","07/22/09","20:45:11",,"File not found: /Adobe_CFC_Generator/handlers/index.cfm The specific sequence of files included or processed is: C:\wwwroot\CFIDE\Adobe_CFC_Generator\handlers\index.cfm'' "
    The Adobe CFC Generator was attempted both with and without spaces.  The CFIDE directory being in the path even though the actual install location was C:\wwwroot\Adobe_CFC_Generator seemed a little odd so I tried simply locating the generator files in the CFIDE and everything seems to be working.
    Also note that I had attempted to create a mapping to the Adobe CFC Generator files in ColdFusion and through a VirtualHost and both did not work because of the spaces in the name.  Which Is why I tried the _'s.  It still did not work though.
    Not sure if this is a bug or (more likley) that my configuraiton is just odd but as long as it continues to work I am cool with it.
    Any thoughts?

  • Default z-index?

    What's the default z-index? I mean the point where objects
    without a z-index
    specified appear above or under objects that DO have one
    specified?

    :-)
    "Murray *ACE*" <[email protected]> wrote
    in message
    news:g97g3m$6f8$[email protected]..
    >I was going to say that z-index of zero is not supported
    in FF....
    >
    > --
    > Murray --- ICQ 71997575
    > Adobe Community Expert
    > (If you *MUST* email me, don't LAUGH when you do so!)
    > ==================
    >
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    >
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    > ==================
    >
    >
    > "TC2112" <[email protected]> wrote in message
    > news:g97f8n$5nc$[email protected]..
    >> Oops, I didn't see that Joe had just answered.
    >> Auto is right.
    >> I mentioned 0 as I was thinking the default is the 0
    rendering layer (or
    >> stack position) where the first positive z-index
    integer of a positioned
    >> element would be rendered layer 1. Just another way
    to think of it.
    >>
    >> Take care,
    >> Tim
    >>
    >> "TC2112" <[email protected]> wrote in message
    >> news:g97eo3$55q$[email protected]..
    >>> Hello,
    >>>
    >>> Technically, the default value is 0.
    >>> Stacking context can get complicated. For
    example, the z-index of a
    >>> child element only has meaning in the parent
    element.
    >>> For example, a div with a z-index of 4 is below
    another div with a
    >>> z-index of 5.
    >>> If there is a div with a z-index of 6 that is a
    child of the div with
    >>> the z-index of 4, this div with a z-index of 6
    will also be under the
    >>> div with the z-index of 5.
    >>>
    >>> This is a couple of years old, but it explains
    the variations fairly
    >>> well:
    >>>
    >>>
    http://developer.mozilla.org/en/Understanding_CSS_z-index
    >>>
    >>> Check out the stacking context links and the
    examples.
    >>>
    >>> Take care,
    >>> Tim
    >>>
    >>>
    >>> "Mike" <[email protected]> wrote in message
    >>> news:g97cpe$39h$[email protected]..
    >>>> What's the default z-index? I mean the point
    where objects without a
    >>>> z-index specified appear above or under
    objects that DO have one
    >>>> specified?
    >>>>
    >>>
    >>>
    >>
    >>
    >

  • Coldfusion will only display index.cfm no matter what .cfm page is opened

    I am currently learning ColdFusion using the tutorials on lynda.com. In doing the exercises I am running into a particularly unusual problem. No matter what .cfm document I have opened and I am attempting to work on the only page that will preview in Dreamweaver's Live View and in any browser is the index.cfm page of the exercises that I am working on. I have worked on these exercises on another computer, a laptop, with no problems. Both of the computer were running Windows 7 and all of the Site Setup information seems to be the same on both computers. Any ideas on what could be causing this? I cannot proceed effectively with the tutorials if this problem persists. I have all of the required components installed on my computer so I really don't know what the problem could be. Any help would be appreciated. Let me add that this is not happening with every CF document but with a particular Site Setup and exercises that I am working on through the tutorials that come with the Coldfusion tutorial provided by Lynda.com.
    NOTE: I am learning ColdFusion MX at the moment, but I have ColdFusion 9.1 installed on the computer that I am having the problem on.

    Adam,
    Thanks for getting back to me. I have attached a .pdf and two (2) text documents which should serve to explain the problem in greater detail. I am sending this from my email which is how I am able to attach the documents. The pdf really shows my screen and what is actually happening. If you cannot open the files let me try to explain:
    I have two (2) separate CF sites set up on my computer. I have the same sites set up on my laptop. I have downloaded lessons from Lynda.com so that I can learn CF. In one of the CF sites, which has graphics included, no matter what page I am working on when I go to view that page in "Live View" or any browser the only page that displays is the index.cfm page. I do not get an error message, what displays is only the index.cfm page. In other words, the only page that will display in this particular site in the index.cfm page. I do not have this problem on the laptop. I hope that clarifies the situation. If not please let me know. I am attempting to fix the problem but I do not know what to do as I have tried several things, including deleting the site setup and setting it up again. Any help would be appreciated. Thanks.
    Click here for ColdFusion Problem.pdf or copy and past this link to your browser: http://luvchoseu.theggoc.com/images/stories/ColdFusion-Problem.pdf
    Click here for  user_list.cfm document or copy and paste this link in your browser: http://luvchoseu.theggoc.com/images/stories/ColdFusion_user_list.cfm_Code.txt
    Click here for storyteller.cfm document or copy and paste this link in your browser: http://luvchoseu.theggoc.com/images/stories/ColdFusion_storyteller.cfm_Code.txt
    Peter
    Message was edited by: Peter G.

  • .../index.cfm

    Puzzler for you...recently I have had visits from some  suspicious bots - well, one is a SYNAPSE user agent, the other bingbot (which is not that suspicious).  However, they have both been entering crawling URLs with three dots (such as .../index.cfm).  I"ve looked through the source as well as the diplayed code, and it does not seem to be coming from me...almost as if a longer URL is being abbreviated somewhere and then treated as a true URL...and out of the tens of thousands of visits a day, I only get a handful of these errors, from random parts of the site.
    Anyway, on my test server, this URL errror generates a 404 error; on the production server it generates a ColdFusion error (string index out of range: -1).  Not a problem but annoying. Any ideas on what settings could be different in the two servers to generate the different result?  In theory the test and production servers are identical. 
    Obviously I could put something in Application.cfm, but that feels like a workaround....
    Thanks!
    (CF9 on Windows Server 2008)

    What happens when you try accessing any other ColdFusion
    templates (other than Administrator)? Also check your installation
    log file, see if you have any warnings, fatal errors or non-fatal
    errors. Install log should be under /opt/coldfusionmx7/
    folder.

Maybe you are looking for

  • Error (-69) Cannot Copy to Disk when syncing ipod

    I have tried the 5 Rs for overcoming this error, but I still cannot copy music to the ipod without this message popping up and interrupting the download. Please help, Shana

  • Pro Application Express book

    hello, I thought the book is even out until my brother told me after trying to order for it that it hasn't been released. To be honest, it saddened my heart. I need a real and practical oriented material urgently to help in my many projects. I hope w

  • Credit Management in Empties

    Hi, On this project we are having SD for Empties. Now customer is evaluated or configured in Credit Management according to the Security deposit or money. But here the requirement is that they want to have credit management in Empties only not amount

  • Email Migration - Sendmail to Oracle Email

    Hi, I have read email migration manual. They have mention, how to migrate from Lotus Note and Exchange. What about from Sendmail (on RedhHat 9) to Oracle Email???

  • 인스톨 문제 fedora6 + 9204

    처음에는오라클 인스톨 화면도 않뜨더니 ..계속 문제가 생기네요...^^ 지금 문제는 오라클 데이터 베이스를 설치한 후, Configruration Tools 메뉴에서 Oracle net configuration Assistant , Oracle database configuration Assistant 구성 이 전부 실패로 나옵니다. /opt/oracle/jre/1.1.8/bin/../lib/i686/native_threads/libzip.so