Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

IIS virtual directory from web.config

I have a IIS problem that I think this blog gives me a fix for:

To resolve it, Right Click on the virtual directory - select properties and then click on "Create" next to the "Application" Label and the textbox. It will automatically create the "application" using the virtual directory's name. Now the application can be accessed.

However I don't have access to the IIS GUI. Is there a way to do the same thing by editing the web.config file?

like image 873
BCS Avatar asked Feb 02 '26 17:02

BCS


2 Answers

I'm afraid this isn't possible. Configuring a directory as an application, setting up the AppPool, etc is the responsibility of the web server. Typically your web hosting provider will offer a control panel that lets you configure the virtual directories. If not, you'll need to contact them through their support channels to have this done.

like image 152
joshuapoehls Avatar answered Feb 04 '26 07:02

joshuapoehls


You can not create a virtual directory via your web.config. If this is on a web host then you will need to use whatever user interface they give you to create Virtual Directories.

like image 45
runxc1 Bret Ferrier Avatar answered Feb 04 '26 06:02

runxc1 Bret Ferrier



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!