Can I use symbolic links to files created by mklink <link> <target> in IIS7 and/or IIS Express?
I have created a simple HTML (it's MVC3 Razor but it's not the problem) project with line:
<link href="foo.js">
Then I moved foo.js file to another directory and created a link to this file using:
mklink foo.js bar\foo.js
HTML remains the same.
FireBug shows (on network tab) file size 0B (for discussion), because such a file in the system actually is 0B. The problem is that FireBug does not read the contents of a file or file is not served by IIS Express properly.
IE behaves similarly.
I'm using IIS Express with VS2010 for development, not tested yet on IIS7, the operating system is Windows 7 x64.
Hard links created by command:
mklink / h <link> <target>
works properly.
I tried the same thing for an image but using a symbolic link - so without the "/H" - and got the same result when I tried to use Visual Studio 2010's internal web server (Cassini).
Perhaps IIS Express does have the same the limitation, because when I retried using IIS on my Win 7 (64bit) laptop the image was server correctly.
Cheers
Related
Netbeans 15 can't open firefox or node.js on Linux Mint 21 (Ubuntu 22).
It all boils down that it cannot see some apps located in /bin
If I go to Tools->General->Webrowser->Edit->Browse...
I cannot see firefox or node at the path /bin with the internal Netbeans file browser, while if I use the system file explorer they are shown normally.
So it seems that somehow Netbeans has no access to these applications? Strangely other apps like /bin/gpg or /bin/cp for example are shown correctly within the Netbeans file browser window (started with the browse button)
UPDATE:
It is working without problem on Netbeans 12 which I just have installed on the same system. So only Netbeans 15 has the problem.
UPDATE 2
Netbeans 15 was installed via flatpak and and I suppose that the flatpak rights management does restrict access to firefox.
Flatpak's right management / sand-boxing does restrict access to Firefox and other apps like node. If I build Netbeans 15 from source, everything is working. Flatpak can be a real mess here. :(
I installed CF 11 on Windows 10 Professional using IIS option as shown below. But when I go to IIS I don't see CFIDE folder there:
I thought the CF installation process would have created a CFIDE folder in IIS with its subfolder Administrator that points to the Administrator URL. But IIS did have any such folder. If I remember in Windows 7, installing CF 11 with IIS option automatically configure Administrator website in IIS - at least that what I recall I had done in Win7.
So I manually added a virtual directory in IIS and named it CFIDE with physical path as C:\ColdFusion11\cfusion\wwwroot\CFIDE that is a correct path on my system. But when I go to http://localhost/CFIDE/administrator/ or go to All Programs-->Adobe-->Administrator in Windows, I get the following error. Please help:
CF11 was initially not supported for windows 10. One of the recent update of CF11 started supporting Windows 10. You would need to install ColdFusion and Select Built in Web server while installing ColdFusion. Once its installed, apply the latest update from CF admin and re-configure the IIS connector using Web server Configuration tool.
OR
Apply the latest update manually:
http://coldfusionx.blogspot.in/2017/07/how-to-install-coldfusion-updates.html
And re-configure the IIS connector.
I've looked on the Node-Webkit site and it appears to say that I can make an application with HTML5 and compile it for Windows, Linux of Mac so it will run without the need for the user to install Node.js separately. However, when I try their sample apps (e.g. https://github.com/leanote/desktop-app found on the official NW.js page: https://github.com/nwjs/nw.js/wiki/List-of-apps-and-companies-using-nw.js ), the ".exe" file does not run the app (on either Win 7 or XP). It just opens a simple browser window with the address "nw:blank" and a gray page says "NW.JS" and does nothing.
Can these apps be packaged and run without requiring the user to install node.js?
https://github.com/leanote/desktop-app 's nw folder is not the distribute leanote app, it's just the NW. You must build the desktop-app. The README has written How to build it, How to develop it
You can download the distributed version via: https://github.com/leanote/desktop-app/releases
You might try... node-webkit-builder ... which is supposed to build a huge .EXE file which is self-contained for you. Otherwise, the instructions for distributing... how to package and distribute, see Step 2b.
I am trying to deploy a jsp website that I worked on. I implemented it on my windows machine and in the PATH variable I had the path to some bin directory, I am wondering where should I place this path or directory on the server I am deploying to.
The server is based on linux so I am not sure if that would make a difference.
I upload a single WAR file
I tried to place it in the lib directory but it didn't work.
Thank you
Assuming you have Tomcat installed on your Linux server then you can just place your WAR file inside the $CATALINA_BASE/webapps directory as described in the Tomcat documentation.
If you do not have Tomcat installed you can follow the Tomcat documentation setup guide or this blog post. You can also use a package manager such as YUM or APT depending on the server Linux distribution.
I can't get xdebug loaded as Zend extension, because the php.ini automatically puts in the wrong term.
The message in phpinfo() is
XDEBUG NOT LOADED AS ZEND EXTENSION
I'm Using IIS 7.5 on Windows Server 2008 R2 Enterprise
PHP 5.3.8
Zend Engine v2.3.0
My part of php.ini:
[xdebug]
zend_extension=php_xdebug-2.2.0-5.3-vc9-nts.dll
xdebug.remote_enable=1
xdebug.remote_host="localhost"
xdebug.remote_port=9000
xdebug.remote_handler="dbgp"
No errors logged.
I need to activate every extension in IIS settings. When I then restart IIS, php.ini is updated with the line
[PHP_XDEBUG-2.2.0-5.3-VC9-NTS]
extension=php_xdebug-2.2.0-5.3-vc9-nts.dll
Why this?
(Solved by the OP and answered in a question edit. Converted to a community wiki answer. See Question with no answers, but issue solved in the comments (or extended in chat) )
The OP wrote:
It now works after changing the extension path to absolute. The 2 lines were added anyway, but phpinfo() now shows the full xdebug config.
Working part of php.ini:
[PHP_XDEBUG-2.2.0-5.3-VC9-NTS]
zend_extension="C:\Program Files (x86)\php\ext\php_xdebug-2.2.0-5.3-vc9-nts.dll"
xdebug.remote_enable=1
xdebug.remote_host="localhost"
xdebug.remote_port=9000
xdebug.remote_handler="dbgp"
[PHP_XDEBUG-2.2.0-5.3-VC9-NTS]
extension=php_xdebug-2.2.0-5.3-vc9-nts.dll