Making new root folder (outside of wwwroot) w/ PWS? (Full Version)

All Forums >> [Web Development] >> Server Issues



Message


Botcollector -> Making new root folder (outside of wwwroot) w/ PWS? (11/18/2001 15:36:00)

Hi all. I needed to make a new copy of the entire website I use to practice with this new ASP shopping cart thing. When UltraDev (I can't use Frontpage to open the ASP pages, I'm sure you all know why) is told what root folder to use, it says there's already stuff in use for the other (original) website, and this may cause some problems (even though I created a whole new Web by Publishing w/ FrontPage; it still sees that the REAL root folder is wwwroot, not the Website folder).

Soooooo, I tried to publish outside of the Inetpub\wwwroot folder, and I get error messages if I try to treat the new folder as a Web folder (http://virtual_web/whatever instead of c:\whatever). I tried using the Advanced section of PWS to create a whole new root folder (instead of just adding more Virtual Webs under the wwwroot folder), but it's not working.

Is there any way to do this, or does EVERY new "web" using PWS HAVE to be located under the initial wwwroot folder? Is this a problem JUST with Frontpage extensions or something? I ask because the folders DO show the little globe icon if I look at them w/ FrontPage's OPEN dialog box, but I still can't define them as http:// locations, and none of the ASP stuff works if they're outside the wwwroot folder.

ANY help would be appreciated, folks, and thanks for reading.

The Bot Collector





Gil -> RE: Making new root folder (outside of wwwroot) w/ PWS? (11/18/2001 16:08:00)

quote:
Originally posted by Botcollector:
(I can't use Frontpage to open the ASP pages, I'm sure you all know why)


Nope - why?
quote:

Soooooo, I tried to publish outside of the Inetpub\wwwroot folder, and I get error messages if I try to treat the new folder as a Web folder (http://virtual_web/whatever instead of c:\whatever). I tried using the Advanced section of PWS to create a whole new root folder (instead of just adding more Virtual Webs under the wwwroot folder), but it's not working.

Is there any way to do this, or does EVERY new "web" using PWS HAVE to be located under the initial wwwroot folder? Is this a problem JUST with Frontpage extensions or something? I ask because the folders DO show the little globe icon if I look at them w/ FrontPage's OPEN dialog box, but I still can't define them as http:// locations, and none of the ASP stuff works if they're outside the wwwroot folder.


Well, first thing is PWS is not really web server, it's just a application that allows you to check a site in progress before publishing to a web server.

I'm not sure what you are doing - but when I did use, PWS I always created a site (folder) at Inetpub/WWWRoot/whatever - then published to http://127.0.0.1/whatever. Never had any problems.

------------------
Gil Harvey
The Host Factory
Resellers are our speciality
"Indecision may or may not be my problem"





Botcollector -> RE: Making new root folder (outside of wwwroot) w/ PWS? (11/18/2001 17:34:00)

- QUOTE - (I can't use Frontpage to open the ASP pages, I'm sure you all know why)

Nope - why?

- END QUOTE -

Because FrontPage instantly leaps on the ASP code and destroys it, trying to rewrite it to some crazed Microsoft Wizard format. Any ASP coded page I've made or used outside of FP is always rewritten to no longer function by FP when a view attempt is made by clicking the "Normal" tab. I asked about turning all FP attempts to rewrite or verify ASP code off, but was told it can't be done.

When you publish to http://127.0.0.1/whatever, though, isn't that just putting the new web folder in C:/Inetpub/wwwroot/whatever? The actual file location of 127.0.0.1 is the wwwroot folder, isn't it? I need to publish to, say, C:\NOTwwwroot\Testing\whatever, and still have a browser be able to treat it as a web page, using http. Is the answer to this, then, that ANY webs published that can be viewed using http URL's (and functioning ASP pages) on the local drive instead of file:\\c:\whatever, etc. MUST be within the Inetpub\wwwroot folder? Is that the only location that PWS can work?






Gil -> RE: Making new root folder (outside of wwwroot) w/ PWS? (11/18/2001 18:46:00)

quote:
Originally posted by Botcollector:

Because FrontPage instantly leaps on the ASP code and destroys it, trying to rewrite it to some crazed Microsoft Wizard format. Any ASP coded page I've made or used outside of FP is always rewritten to no longer function by FP when a view attempt is made by clicking the "Normal" tab. I asked about turning all FP attempts to rewrite or verify ASP code off, but was told it can't be done.


Didn't now that - I don't do ASP
quote:

When you publish to http://127.0.0.1/whatever, though, isn't that just putting the new web folder in C:/Inetpub/wwwroot/whatever? The actual file location of 127.0.0.1 is the wwwroot folder, isn't it? I need to publish to, say, C:\NOTwwwroot\Testing\whatever, and still have a browser be able to treat it as a web page, using http. Is the answer to this, then, that ANY webs published that can be viewed using http URL's (and functioning ASP pages) on the local drive instead of file:\\c:\whatever, etc. MUST be within the Inetpub\wwwroot folder? Is that the only location that PWS can work?


Well, the only way a browser can treat a HTML or ASP document as a web "page" is if it's called with a HTTP protocol. So, yes PWS will only work for documents that can be accessed by HTTP://whatever

But, why do you say "I need to publish to, say, C:\NOTwwwroot\Testing\whatever"???

------------------
Gil Harvey
The Host Factory
Resellers are our speciality
"Indecision may or may not be my problem"





Botcollector -> RE: Making new root folder (outside of wwwroot) w/ PWS? (11/18/2001 21:32:00)

I need the new Web folder to be located outside of the c:\Inetpub\wwwroot\ folder. I need to use Frontpage to publish a Web on my local hard drive that resides anywhere but the Inetpub\wwwroot folder. The new web must be accessible as an http-called page, and the stuff PWS does must still work (ASP pages, for instance, which do not seem to work outside of the wwwroot folder). This is what I mean when I say I need to publish to c:\\NOTwwwroot. When you publish anywhere using http://127.0.0.1/, it's just making the new web as a subweb of the wwwroot folder. Is there a way to publish outside the wwwroot folder on a local harddrive and still access the pages w/ http protocol?




Gil -> RE: Making new root folder (outside of wwwroot) w/ PWS? (11/18/2001 22:03:00)

quote:
Originally posted by Botcollector:
I need the new Web folder to be located outside of the c:\Inetpub\wwwroot\ folder.


I must be missing something - Why?
quote:

I need to use Frontpage to publish a Web on my local hard drive that resides anywhere but the Inetpub\wwwroot folder. The new web must be accessible as an http-called page, and the stuff PWS does must still work (ASP pages, for instance, which do not seem to work outside of the wwwroot folder). This is what I mean when I say I need to publish to c:\\NOTwwwroot. When you publish anywhere using http://127.0.0.1/, it's just making the new web as a subweb of the wwwroot folder. Is there a way to publish outside the wwwroot folder on a local harddrive and still access the pages w/ http protocol?


I'm not even sure what "subweb" is supposed to mean, that's a MS term for a directory under the root of a web site.

I've published three copies of the same web (using a different name, of course) as virtuals many times using PWS.

I feel there is a way to do what you need, but can't figure out why you "need" to publish outside WWWRoot?

------------------
Gil Harvey
The Host Factory
Resellers are our speciality
"Indecision may or may not be my problem"





Botcollector -> RE: Making new root folder (outside of wwwroot) w/ PWS? (11/18/2001 22:14:00)

The new web needs to be outside of wwwroot because when I use UltraDev to try and edit the ASP pages (because FrontPage tries to automatically tear them up), it shows an error message stating:

"This root web is already the DNS resource (or something similar) for 'my original website name'. This may cause problems with the functionality of the root web and websites. Do you wish to proceed?"

Naturally, I do not wish to proceed. I would rather establish a new web outside the wwwroot folder, which will still allow PWS to perform as a "web server" for the new web.





Gil -> RE: Making new root folder (outside of wwwroot) w/ PWS? (11/18/2001 22:52:00)

quote:
Originally posted by Botcollector:
The new web needs to be outside of wwwroot because when I use UltraDev to try and edit the ASP pages (because FrontPage tries to automatically tear them up), it shows an error message stating:

"This root web is already the DNS resource (or something similar) for 'my original website name'. This may cause problems with the functionality of the root web and websites. Do you wish to proceed?"

Naturally, I do not wish to proceed. I would rather establish a new web outside the wwwroot folder, which will still allow PWS to perform as a "web server" for the new web.


Hmm, I've never seen the error you are getting - but then I don't use ASP or MS databases...

All, I can say is I don't see any way to have a web site not accessed by a web browser that will allow ASP pages to function.

Sorry, I couldn't help...

------------------
Gil Harvey
The Host Factory
Resellers are our speciality
"Indecision may or may not be my problem"





caywind -> RE: Making new root folder (outside of wwwroot) w/ PWS? (12/2/2001 22:40:42)

Did this get solved? I think you need IIS. With IIS you can create a virtual web on any shared drive on the network. Extra caution, Get IIS 5, with newest service pak (3). Run entire thing behind good firewall.

[;0] I want an avatar!




caywind -> RE: Making new root folder (outside of wwwroot) w/ PWS? (12/2/2001 22:55:36)

DNS:

Is a DNS server configured on your network? If so, it sounds like the DNS server does not have a second entry for the second web? If you are using DNS you need a line for every single computer to every ip address that will connect to internal webs for publishing.

Got any w2k boxes? I believe they can be configured to run DNS and IIS5.

I want an avatar!




caywind -> RE: Making new root folder (outside of wwwroot) w/ PWS? (12/3/2001 0:38:04)

This could work courtesy of Rian...

PWS can be installed on XP Home but is not supported by MS. See here....
http://support.microsoft.com/support/kb/articles/Q310/0/90.ASP

Internet Information Services (IIS 5.1) is included with XP Home but you have to install it from the CD.
How to Install Windows Components
http://support.microsoft.com/support/kb/articles/q305/5/48.asp

and see this XP home documentation...

Windows XP Home Edition documentation
http://www.microsoft.com/windowsxp/home/using/productdoc/en/app_FrontPg.asp

Rian

urls got all messed up...

see this XP home documentation...

Windows XP Home Edition documentationhttp://www.microsoft.com/windowsxp/home/using/productdoc/en/app_FrontPg.asp
Internet Information Services (IIS 5.1) is included with XP Home but you have to install it from the CD.
How to Install Windows Components
http://support.microsoft.com/support/kb/articles/q305/5/48.asp
PWS can be installed on XP Home but is not supported by MS. See here....http://support.microsoft.com/support/kb/articles/Q310/0/90.ASP


I want an avatar! can u tell i'm going for 100?




caywind -> RE: Making new root folder (outside of wwwroot) w/ PWS? (12/3/2001 0:43:00)

learning more

http://66.155.126.102/topic.asp?TOPIC_ID=8994

the working links were cut and pasted in from Rians original post
the ones in red dont work?

I want an avatar! can u tell i'm going for 100?




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.109375