Windows Xp, Personal Web Service

來源:互聯網
上載者:User

1.

Creating a root folder (Windows)

http://livedocs.macromedia.com/dreamweaver/mx2004/getting_started_en/wwhelp/wwhimpl/common/html/wwhelp.htm?context=Getting_Started&file=gs_14_q9.htm
After the server software is installed, create a root folder for your web application on the sy

Related Topics
Popup

stem running Microsoft PWS or IIS, and make sure the folder has the necessary permissions.

To create a root folder for your web application:
  1. Create a folder called MySampleApp on the system running PWS or IIS.

    Note: Write down this folder name for later use. When you type it later, be sure to use exactly the same capitalization that you used when you created it.

    A good place to create the folder is in C:\Inetpub\wwwroot\. By default, your IIS or PWS web server is set up to serve pages from the Inetpub\wwwroot folder. The web server will serve any page in this folder or in any of its subfolders in response to an HTTP request from a web browser.

  2. Make sure the Read and Scripts permissions are enabled for the folder by doing one of the following:
    • If you're using PWS, start Personal Web Manager by double-clicking the web server icon in the system tray. (The icon depicts a hand holding a web page.) In Personal Web Manager, click the Advanced icon. The Advanced Options dialog box appears. Select Home and click Edit Properties. The Edit Directory dialog box appears. Make sure the Read and Scripts options are selected. For security reasons, you should not select the Execute option.
    • If you're using IIS, start the IIS administrative tool (in Windows XP, select Start > Control Panel or Start > Settings Control Panel, then double-click Administrative Tools, then double-click Internet Information Services). Expand the "local computer" list, then the Web Sites folder, then the Default Web Site folder. Right-click your MySampleApp folder and select Properties from the pop-up menu. In the Execute Permissions pop-up menu, make sure the Scripts Only option is selected. (For security reasons, do not select the Scripts and Executables option.) Then click OK.

The web server is now configured to serve web pages in your root folder in response to HTTP requests from web browsers.

After configuring your system, you must define a Dreamweaver site. (See Defining a Dreamweaver site (PHP).)

Popup

2.http://www.tetonmultimedia.com/tetonmultimedia/Archive-LocalHost.cfm
ColdFusion & 127.0.0.1 on Windows XP

(July '05)

So I finally got around to installing Windows XP. Why the wait? 'Cause Windows 2000 did the job, and I'm not one to fix that which ain't broke. Personally, I'd still be using Windows 3.1 or DOS if not for all the incompatibility problems with everyone else. For some reason, I have to be like everyone else since they won't be like me. And since I'm really a "website guy" rather than a "server guy," I prefer to spend my time designing and programming, rather than peering into new operating system and setup issues.

Anyway, I set things up, installed IIS and the latest ColdFusion MX, and immediately discovered "problems" with things like "127.0.0.1/mywebsite". First, there's no "Personal Web Manager" (PWM) as part of the XP thing, so instead of using PWM to set up an alias, I did this:

On the website folder, right-click to "properties", select the "Web Sharing" tab, activate web sharing and enter the desired name (alias).

Past experience suggested that things should now work. But they didn't. Instead, "127.0.0.1/mywebsite" got me a little pop-up asking for my username and password. This little pop-up was very persistent and wouldn't go away. After a bunch more twiddling and geeking, I discovered 2 more steps that solved the problem

On the website folder, right-click to "properties", select the "Sharing" tab, and check the "share this folder" box. Any share name is fine.

Go to: Start > control panel > administrative tools. Then

  • Open "Internet Information Services"
  • Click down through the directory thing until you find your alias (entered above in "Web Sharing").
  • right-click the alias, select Properties, "Directory Security" tab, then click "Edit" beside "Enable Anonymous...", and then check the "Anonymous Access" box.

Experience suggests that different installs behave differently; however, this was the most complicated of the various installs. (Other installs require a subset of the above.) In addition, WHERE you put "mywebsite" on your system affects the hoops through which you must jump. For example, putting "mywebsite" in C:\InetPub\wwwRoot\" can makes things simpler than if "mywebsite" is on your desktop.

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.