I am trying to setup a internal wiki site for project documentation project. I am using roadkill because I have a IIS server and a .net environment.
So the installation instructions aren't much. Unzip the files onto a site directory. Navigate to http://arwiki
Should be that simple, however, I get an error about directory browsing and it looks like there is no MVC mapping in Global.asax. It points to a internal dll so it is hard to determine what I did wrong?
Has anyone setup Roadkill and know what I did incorrectly?
Also there is no tag for roadkill
You can ask for help on the issues board -
https://bitbucket.org/yetanotherchris/roadkill/issues?status=new&status=open
However I can tell you that the problem is most likely that you don't have MVC installed on IIS (if it's Windows Server 2008). You might also need to enable ISAPI filters, they can be turned off.
The ASP.NET web installer contains the MVC bits you need, although Roadkill does come bundled with these.
Related
I just installed ColdFusion 2016 Developer Edition on my Windows 7 laptop and configured it to use the built-in web server. Previously I was using ColdFusion 11.
Now I have a case-sensitivity problem, but only for non-ColdFusion (.cfm) resources. For example, all css and js references are now case-sensitive, whereas they weren't when I was using ColdFusion 11. The same is true for calls to images and plain html files. All cfm files load just fine.
I modified the context.xml file (in the /cfusion/runtime/conf folder) to include <Context AllowLinking="true" caseSensitive="true"> (and yes, I also tried caseSensitive="false") and have restarted several times, but no luck yet.
The 404 error messages specify Apache Tomcat/8.5.11.
Any ideas on how to restore case-insensitivity? Thanks in advance for any help.
I seem to have "fixed" this. I enabled IIS on my laptop and used the Web Server Configuration tool to set it up with ColdFusion. (I also changed the path for the default website in IIS to /cfusion/wwwroot since that's where all my code is.) Everything seems to be working well now, with no case sensitivity for cfm or non-cfm pages. I no longer need to include the port (8500) in the URL for my applications, but do need to include it to reach the CF Administrator.
I'm having a heck of a time figuring this out (and I assume it is a basic problem and I'm just searching for the wrong terms). I have a plain html site that I'm trying to debug locally and when I open it in a browser or debug it I get this url:
http://localhost:63342/DeleteMe/root/index.html
If I set my resource root to the root folder I end up with:
http://localhost:63342/DeleteMe/index.html
The problem is I use "absolutely" pathed resources such as /js/utility.js because the context shifts based on what AJAX content is pulled in (Hijax-ish application).
What I'd like to see is->
http://localhost:63342/index.html
http://localhost:63342/js/utility.js
for a project like:
[DeleteMe] <--project root
- root
- js
utility.js
- index.html
I'm interested in a solution that deals directly with this problem inside the IDE. I already have a host of tools for web development and I'm evaluating JetBrains at the moment and these little details are what make the difference for me. I can easily set up IIS or Apache to preview the site, I'm looking for a complete solution in a single IDE.
(For reference the project was developed using Eclipse)
Why don't you use your deployed test version to run the application? When I started using Webstorm I had those problems. Then I figured out that Webstorm can debug your source anywhere your are running it.
So, I have my appache set, with any root I want, and I point the sources (using symlinks) to the real source in the project.
Then, I create a configuration for each of the servers I want to use, like this:
I also use that approach, together with hosts, to have multiple different debug environments (for different users, for instance). This is a stretch of my windows hosts file (in C:\Windows\System32\drivers\etc):
...
127.0.0.1 crewhu-admin
127.0.0.1 crewhu-company
127.0.0.1 crewhu-manager
127.0.0.1 crewhu-employee
...
And the debug process for javascript works like a charm for all environments.
Hope this helps...
Recently I have been experimenting with Firebreath and developed a plugin in order to showcase my c++ projects on my portfolio website. I would like to make it easy for users to look at the projects without downloading files if they are new on my website.
The only issue I have at this point is that when users visit my page, they will receive a message indicating the plugin is missing. I would like to have an option for the users to automatically install my plugin without having to manually download and run it.
The plugin is mainly targetted at Windows users, since the applications are as well. I intend to support Google Chrome, Firefox, Internet Explorer. Currently I am using a MSI installer to install the plugin.
I have found a question similar to this, but I still needed to save the MSI installer and run it.
My question is: What would be the best way to implement this?
There isn't any way to "automatically" do what you want to do. The closest that I have heard of would be to use a java applet that would download and install the plugin for them. This can be pretty reliable on Mac but far less reliable on windows (for a number of reasons, among which the fact that many windows users don't have java installed and that Chrome blocks java applets by default without intervention by the user).
Other options include:
Creating a CAB file installer (only works on IE)
Creating a XPI firefox extension that packages the plugin (requires restarting the browser, only works on firefox)
Creating a CRX chrome extension that packages the plugin (only works on Chrome)
Microsoft ClickOnce used to work pretty well for one click installs of MSI files from a web page, but recently I think it doesn't work on many (if any) browsers; haven't seen it used in awhile, anyway.
There is no "automatic" way to install plugins; that would be considered a severe security issue. This is probably the #1 reason that plugins are as uncommon as they are.
do what adobe does,
create a tiny activeX application downloader, sign the activeX from with cheap SSL
when a user, enters your site, he will automatically be downloading this tiny ActiveX, after installation complete, inside the tiny ActiveX, have some type of batch script to download the EXE from remote server and silently install it.
adobe does this, on every reboot in boot.ini or startups
very easy
Just downloaded Coldfusion 9 developer for review purposes. I am at the administrator page 127.0.0.1:8300 and I think everything has worked fine. I want to do a simple "Hello World" example. One tutorial gave me a simple 6 line script to do this and it looks pretty simple and understandable. I went to notepad and created the following:
<html>
<head><title>Hello World</title></head>
<body>
<cfoutput>#ucase("hello world")#</cfoutput>
</body>
</html>
It told me to save it as helloworld.cfm in inetpub/wwwroot directory. I could not find such a directory on my system. So I saved it to C:\helloworld.cfm. Then it told me to go to my browser and type http://localhost/helloworld.cfm. I got something to the effect of a page not found error. Any help you can spare here.
Secondly, and more importantly, exactly where do I really need to be to be to create and run the above helloworld.cfm script above? Is there another tool I must have to create the above script to do this? I also understand that there is very little tutorial documentation on Coldfusion 9, why is that the case. Can you offer me any suggestions. I would really like to use this development tool. Adobe says it is the easiest development tool out there. You will have a tough time convincing me of that at this stage, however, I just might be missing a procedural/processing step thats real simple. I hope this is the case. Thanks for you valuable time.
When you installed ColdFusion did you hook it up to a webserver or did you install it in standalone mode?
Did you install it as standard ColdFusion or Multiserver?
The reason I ask is that depending on how you installed it will determine where you will find the web root.
For example, ColdFusion standard in stand alone mode will have the web root under something like C:\ColdFusion9\wwwroot
Multiserver standalone will be something like C:\Jrun4\servers\cfusion\cfusion-ear\cfusion-war\
Installation with a connection to a web server will have asked you where you server's web root is and so on
To create scripts; notepad, but there are two eclipse based IDEs you might like to try. CFEclipse is free and ColdFusion Builder is adode's commercial product.
First of all, Welcome to the ColdFusion community!
I believe Jerry has done a default ColdFusion install. The CFAdmin URL as mentioned is 8300, so i guess it is a multi server installation.
As pointed out by stephen, your web root would be something like \Jrun4\servers\cfusion\cfusion-ear\cfusion-war\
You need to place your helloworld.cfm in the above path.
I recommend ColdFusion builder/ CFEclipse to start with.
CF is a easy language, you will realize that soon :)
http://localhost/ will point to where your web server is configured. So obvious question is did you configure a web server such as IIS or Apache? Which OS are you using and which install of ColdFusion did you pick (standard, multiserver, other...)?
If you don't want to use an external web server you can use the built-in one, I have never really used it much but here is a link that should get you going: http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=webservmgmt_3.html
To create CFM files you can use pretty much any editor, the most popular one is Eclipse (http://www.eclipse.org/) coupled with the CFEclipse plugin (http://www.cfeclipse.org/). Adobe now has a IDE based on Eclipse called CFBuilder (http://www.adobe.com/products/coldfusion/cfbuilder/features/) which is gaining speed quickly, but it is not free.
I am using the multisite.dll ISAPI filter (http://www.hairy-spider.com/post/Multisite.aspx) in order to develop on several websites simultaneously on my Windows XP Professional/IIS 5.1 workstation. I am developing both HTML and ColdFusion websites. On the ColdFusion websites, when I use CFIMAGE to create an image in memory - a CAPTCHA image, to be exact - it is not viewable. I know the image is being created in the correct directory - ColdFusion8\tmpCache\CFFileServlet_cf_captcha - and the ColdFusion is generating the correct code to display the image:
<img src="/CFFileServlet/_cf_captcha/[file].png" />
But I can't get the image to display. I've tried adding a virtual directory to the Default Website in IIS, as well as adding a mapping in the ColdFusion Administrator, but neither helps.
Does anyone have any suggestions that don't include upgrading Windows?
Thanks.
I don't think you need that DLL any more. IIS 5 can handle host headers natively, unless you've ran into other issues that require you to use it.
Two things:
1. Try unchecking the 'Verify file exists' setting in IIS.
2. If that doesn't work, does the cfimage tag work without the DLL installed?
first thing i would do is remove the multisite.dll and just use one site to see if it really is the dll causing the problem or if it is something else.
next... what version of cf is this? are you at the least service pack for your version of ColdFusion?