virtual-directory

Create a shell namespace extension

瘦欲@ 提交于 2019-12-12 18:25:11
问题 How does acronis create this virtual folders. For example I created a backup of the folder Example located at C:\Example This is how the backup looks: If I double click on that file then I could navigate to: if I right click on that folder I will not get the regular menu that I get with directories. If I double click that directory then I will navigate to the content of that folder as: Note that the content that I am looking at is inside a file not on windows explorer. I know that if I send

Accessing content file in c# web application

不问归期 提交于 2019-12-12 11:32:01
问题 I am having this issue on my mind for 3 days now. I have an xml file that is marked as Content and Always Copy . The file was copied to: C:\Users\avi\Documents\Visual Studio 2010\Projects\ExpressBroker\ExpressBroker\bin\XMLMetadata\Actions.1.xml When accessing to the file: //like that: XDocument actions = XDocument.Load("bin\\XMLMetadata\\Actions.1.xml"); //or like that: XDocument actions = XDocument.Load("XMLMetadata\\Actions.1.xml"); //or like that: XDocument actions = XDocument.Load(

JSoup error 403 when trying to read the contents of a directory on my website

天大地大妈咪最大 提交于 2019-12-12 09:27:36
问题 Exception in thread "main" org.jsoup.HttpStatusException: HTTP error fetching URL. Status=403, URL=(site) at org.jsoup.helper.HttpConnection$Response.execute(HttpConnection.java:449) at org.jsoup.helper.HttpConnection$Response.execute(HttpConnection.java:465) at org.jsoup.helper.HttpConnection$Response.execute(HttpConnection.java:424) at org.jsoup.helper.HttpConnection.execute(HttpConnection.java:178) at org.jsoup.helper.HttpConnection.get(HttpConnection.java:167) at plan.URLReader.main

Referencing resources in a global way either from a virtual directory or the web root?

孤街醉人 提交于 2019-12-12 03:15:47
问题 Let's say I have an MVC/WebAPI/AngularJS site that I'm running locally, e.g. ; localhost/Test/ which I then want to move to www.test.com While local, I have a lot of references to various directories (jsfiles, etc) of the following format (in either JS or HTML files) app.directive('rpdbSpinner', function() { return { restrict: 'E', **templateUrl: '/Test/templates/directives/spinner.html',** scope: { isLoading:'=' } } }) when updating/web publishing, I'd have to change everything to: app

Creating virtual directory for asp.net web project

泄露秘密 提交于 2019-12-12 02:46:33
问题 I have installed windows 8 on my system and I am using visual studio 2012 and IIS 8 Express. when I try to create a virtual directory for web project the message box shows the error message like "Unable to create virtual Directory. To access Websites on the local IIS Web server, You must run visual studio under an Administrator account" Please help me how to run visual studio under administrator Account, Thank you. 回答1: Right click on the shortcut then "Run as administrator" or create another

How to use virtual folder structure url

痴心易碎 提交于 2019-12-12 00:33:23
问题 I have url like this http://www.abcdef.com/somthing.php i want use same file content but different url format like this http://www.abcdef.com/exp/go/to/123 for this where i need to modify either php or htaccess file? 回答1: The .htaccess file for your example you'd use: RewriteEngine on Redirect ^/exp/go/to/123$ /somthing.php [L] The main reason you'd use the "/exp/go/to/123" URL structure is because the different elements can be used as variables to load the page in which case you could use:

Create Virtual Directory IIS7 to be use in GetFolder in Server.CreateObject(“Scripting.FileSystemObject”)

☆樱花仙子☆ 提交于 2019-12-11 14:23:23
问题 I am trying to create a virtual directory at my IIS7 and then use the virtual directory in the following code sPath = "\CMapped\database\attendanceData\" sDir = Server.MapPath(".") & sPath response.write sDir Set fso = Server.CreateObject("Scripting.FileSystemObject") Set obj_FolderBase = fso.GetFolder(sDir) response.end But I got the following error: What I have done is as follow: I created the virtual directory and set the path to C:\ Drive. My localhost is at D:\ drive. I have also set

Unable to access XML file from Virtual directory after editing the file

大兔子大兔子 提交于 2019-12-11 14:14:29
问题 I am accessing an XML file through virtual directory and XML is kept at application server. Initially parsing was working fine but when I made some changes in XML after that I am not able to access that XML file. In that case I need to re-start the services then its working. code : weblogic.xml <wls:virtual-directory-mapping> <wls:local-path>/app/upload_files/</wls:local-path> <wls:url-pattern>/Banner/*</wls:url-pattern> <wls:url-pattern>/Login/*</wls:url-pattern> <wls:url-pattern>/Home/*<

Proper folder location when creating virtual directories in IIS 6.0?

一笑奈何 提交于 2019-12-11 08:10:42
问题 When creating new web sites with Visual Studio .NET, the projects are created at the default web site location, e.g. c:\inetpub\wwwroot\myapp. Likewise, when creating msi packages for such applications using a Visual Studio Web Deployment Project, a custom action will be used to determine the folder location of the default web site and the files installed to that location. When I look at other virtual directories in my current IIS installation, I see these logical paths: IISHelp: c:\windows

Nested Virtual Directory Deleted on msdeploy

点点圈 提交于 2019-12-11 04:30:55
问题 The project I have uses msdeploy to publish a package to IIS. It deploys over an existing version of the project. within the web application, I have a virtual directory, but every time I deploy the project, the virtual directory disappears. I am calling MSDepoly in the following manner: -source:package='d:\[...]\9.1.0.67\application\AppName.zip' -dest:auto,computerName="hostSite.com",userName="AutoInstall",password="****",authtype="NTLM",includeAcls="False" -verb:sync -enableLink