|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Hi
I am designing a website in ASP and am using Dreamweaver MX 2004. I am unsure whether to define the site in C:\\documents and settings\scott\my documents\Fairfield or to make the root folder in the wwwroot directory IIS? I have chosen my testing server as C:\Inetpub\wwwroot\Fairfield. Is this ok? |
|
#2
|
|||
|
|||
|
You don't want to put a website in your profile, IIS won't have access to the pages. I recommend you make new websites as new virtual directories under \Inetpub\wwwroot\
Or if you have a server version of windows you can create multiple sites.
__________________
====== Doug G ====== I didn't attend the funeral, but I sent a nice letter saying I approved of it. --Mark Twain |
|
#3
|
|||
|
|||
|
Thanks for the reply.
So just to clarify, i don't define the site root in my user area, instead put it in the wwwroot directory, for example, wwwroot/Fairfield, for the fairfield website im designing. I was wondering why dreamweaver wasn't allowing me to preview the asp pages correctly! Cheers again |
|
#4
|
|||
|
|||
|
I don't use Dreamweaver and don't know what it needs, but putting a web into your My Documents folder will usually cause problems somewhere along the line.
Keep in mind that even on your own computer IIS is running as a service, usually under a different user account with different permissions allowed. |
|
#5
|
|||
|
|||
|
Cheers
I looked at a few mshelp documents and changed all the permissions for the ULSR_scott account. It seems to have done the trick! I was wondering however, when i assign my access database file with a DNS, is it OK for me to keep it in my user area, i.e. My Docs or should i also place it in the wwwroot directory of IIS? Just in your opinion what would you say is better? Many thanks |
|
#6
|
||||
|
||||
|
Did you find out yet? Access databases should preferably NOT be in your wwwroot or subdir of wwwroot, since this enables anyone that accesses your website to download the access database when they know the name and the path (I remember a minor local bank got stuck with this once, oops!)
Place the database somewhere else on your disk and make sure that the ASPNET account (or, in Win2003, the Local Network account) has access to it. |
|
#7
|
|||
|
|||
|
Thought that may pose a problem!
So i can just put it in my c: drive somewhere and if i move it it should still work as that is the point of DNS? Or am i confused! |
|
#8
|
||||
|
||||
|
Quote:
You have - of course - to adjust your DSN, because your DSN points to where your Access file actually is stored. Once you did that, it should be no problem to connect to the database (assuming that you set the correct rights on the directory where the access file resides) |
![]() |
| Viewing: ASP Free Forums > System Administration > Microsoft IIS > Where to define site? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|