XAMPP 使用者網頁設定

xampplite\apache\conf\httpd.conf 去掉前面註解
# LoadModule userdir_module modules/mod_userdir.so

xampplite\apache\conf\extra\httpd-userdir.conf 新增下面幾行:

UserDir "D:/xampplite/user/*/public_html"

Options Indexes FollowSymLinks Includes ExecCGI
.......
.......

使用者資料夾在 /xampplite/user/*/public_html
位址:http://www.example.com/~*/
自由創建新資料夾即可,不用再做其他設定。

Trackback URL for this post:

Comments

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd><blockquote>
  • Lines and paragraphs break automatically.

More information about formatting options

Type the characters you see in this picture. (verify using audio)
Type the characters you see in the picture above; if you can't read them, submit the form and a new image will be generated. Not case sensitive.
Web Hosting by Arvixe