Asp IIS

Discussion in 'ASP.NET' started by kunoo, Sep 20, 2004.

  1. kunoo

    kunoo New Member

    Joined:
    Aug 18, 2004
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    0
    Occupation:
    Web Designer
    Location:
    bangalore, India
    Home Page:
    http://www.comfortdesign.biz
    Asp

    I am having Win 2K installed and IIS 6.0. I wanted to view my asp files. But everytime i copying the entire folder to that wwwroot folder and seeing my file. Is there any other way sothat after changing one page i can directly view it in browser ??
     
  2. shabbir

    shabbir Administrator Staff Member

    Joined:
    Jul 12, 2004
    Messages:
    15,375
    Likes Received:
    388
    Trophy Points:
    83
    If you have IIS installed you can view the asp files by typing the url of your local file space

    Say you have you win installed in C drive and have the wwwroot folder at
    C:\Inetpub\wwwroot

    Then if you put your asp files in folder say temp then the source code files are at location
    C:\Inetpub\wwwroot\temp and so you need to use the following URL in browser to see the ASP code
    http://localhost/temp/default.asp
    OR
    http://127.0.0.1/temp/default.asp

    Assuming default.asp is the file you want to see it in web browser.

    You can have as many folders as you wish and the url is something like
    http://localhost/ should be replaced by C:\Inetpub\wwwroot\
    and all \ by /

    Thanks and I hope this clears your queries.
    If you have any further queries just drop in here a new thread.
    Shabbir Bhimani
     
  3. kunoo

    kunoo New Member

    Joined:
    Aug 18, 2004
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    0
    Occupation:
    Web Designer
    Location:
    bangalore, India
    Home Page:
    http://www.comfortdesign.biz
    If i want to edit any file...then what i have to do ?? Shall i edit that file which is within temp folder and again view the file with http://localhost/temp/index.asp ??
     
  4. shabbir

    shabbir Administrator Staff Member

    Joined:
    Jul 12, 2004
    Messages:
    15,375
    Likes Received:
    388
    Trophy Points:
    83
    Yes you should edit the files in folder
    C:\Inetpub\wwwroot\temp and refresh the web browser to see the changes.

    Thanks
    Shabbir Bhimani
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice