[問題]無法正確的轉址

phpBB Installation & Usage Support
phpBB 2 安裝於各類型作業平台之問題討論;外掛問題,請到相關版面依發問格式發表!
(發表文章請按照公告格式發表,違者砍文)

版主: 版主管理群

版面規則
本區是討論關於 phpBB 2.0.X 架設安裝上的問題,只要有安裝任何外掛,請到外掛討論相關版面按照公告格式發表。
(發表文章請按照公告格式發表,違者砍文)
eeee
星球普通子民
星球普通子民
文章: 18
註冊時間: 2003-08-28 17:40

[問題]無法正確的轉址

文章 eeee »

架設主機作業系統:windows xp pro
快速架站程式:Appserv
申請的網域: myfamily.no-ip.info
您的上網方式: ADSL
安裝的程式:Apache + php + MySql
phpBB2 版本: 2.0.6

錯誤狀況:

我在基本組態中的 網域名稱已經改了 myfamily.no-ip.info
在 httpd.conf 中也有改了
ServerName myfamily.no-ip.info
DocumentRoot "C:/AppServ/www/phpBB2"


但是在輸入網址時,只有一開始輸入 myfamily.no-ip.info 才會出現phpBB的畫面\r

之後,要做登入/登出 的動作 都出現無法顯示網頁
要變成網址輸入 http://localhost/login.php?sid=752c905d ... c1cb1b4926
才會出現網頁來,怎麼會這樣呢?幫幫我.......
謝謝..

我有搜尋過文章,說在 www底下有一個 index.php 中 改 Location: /phpBB
但是我有找到這個檔案,卻找不到要改的地方 :-o

我的phpbb網址 http://myfamily.no-ip.info
帳號 adul 密碼 1613
eeee
星球普通子民
星球普通子民
文章: 18
註冊時間: 2003-08-28 17:40

Re: [問題]無法正確的轉址

文章 eeee »

[quote="eeee"]架設主機作業系統:windows xp pro
快速架站程式:Appserv
申請的網域: myfamily.no-ip.info
您的上網方式: ADSL
安裝的程式:Apache + php + MySql
phpBB2 版本: 2.0.6

錯誤狀況:

我在基本組態中的 網域名稱已經改了 myfamily.no-ip.info
在 httpd.conf 中也有改了
ServerName myfamily.no-ip.info
DocumentRoot "C:/AppServ/www/phpBB2"


但是在輸入網址時,只有一開始輸入 myfamily.no-ip.info 才會出現phpBB的畫面\r

之後,要做登入/登出 的動作 都出現無法顯示網頁
要變成網址輸入 http://localhost/login.php?sid=752c905d ... c1cb1b4926
才會出現網頁來,怎麼會這樣呢?幫幫我.......
謝謝..

我有搜尋過文章,說在 www底下有一個 index.php 中 改 Location: /phpBB
但是我有找到這個檔案,卻找不到要改的地方 :-o
jt3
星球公民
星球公民
文章: 88
註冊時間: 2003-04-23 12:44

文章 jt3 »

在C:/AppServ/www/index.php 內容改為這篇
把你的DocumentRoot "C:/AppServ/www/phpBB2"修改為DocumentRoot "C:/AppServ/www"
試試看吧~
eeee
星球普通子民
星球普通子民
文章: 18
註冊時間: 2003-08-28 17:40

文章 eeee »

我有在www下找到 index.php,但是我找不到要改的內容 :x

<?php

/************************************************************************/
/* AppServ Open Project */
/* =========================== */
/* */
/* Copyright (c) 2001 by Phanupong Panyadee (apples@chek.com) */
/* http://academic.cmri.ac.th/appserv */
/* */
/* This program is free software. You can redistribute it and/or modify */
/* it under the terms of the GNU General Public License as published by */
/* the Free Software Foundation; either version 2 of the License. */
/************************************************************************/
$appserv_root = "appserv";
include("appserv/main.php");


print "
<html>
<head>
<title>AppServ Open Project</title>
<meta http-equiv=\"Content-Type\" content=\"text/html; charset=\""._CHARSET."\">
<style>
<!-- Hide style for old browsers
BODY {font-family: MS Sans Serif;font-size=\"10\"}
.headd { font-family: Helvetica,Verdana ; font-size: 13pt; text-decoration: none; }
.app { font-family: MS Sans Serif ; font-size: 10pt; text-decoration: none; }
A:link {text-decoration: none; color: #0000FF}
A:visited {text-decoration: none; color: #0000FF}
A:hover {text-decoration: none; color: #FF0000}
A:active {text-decoration: none; color: #FF0000}
-->
</style>
</head>
<body bgcolor=\"#FFFFFF\">
<div align=\"left\">
<table border=\"0\" width=\"100%\" height=\"19\">
<tr bgcolor=\"#D2E9FF\">
<td width=\"100%\" height=\"19\" valign=\"top\"><font color=\"#000080\">
<span class=\"headd\"><strong><big>  The AppServ Open Project - "._APPVERSION." "._FOR." "._OS." </big></strong></span></font></td>
</tr>
</table>

</div>
<div align=\"left\">
<table width=\"100%\" border=\"0\">
<tr bgcolor=\"#F9FBFF\">
<td height=\"344\">
<blockquote>
<p><font color=\"#000080\"><span
class=\"headd\\"><strong><br>
<img src=\"appserv/members.gif\" width=\"20\"
height=\"20\" align=\"absmiddle\"> <span class=\"app\"><a href=\""._LPHPMYADMIN."/\">"._PHPMYADMIN." "._VERSION." "._VPHPMYADMIN."</a><br>
<img src=\"appserv/account.gif\" width=\"20\"
height=\"20\" align=\"absmiddle\"> <span class=\"app\"><a href=\""._LPHPNUKE."/\">"._PHPNUKE." "._VERSION." "._VPHPNUKE."</a>
<br>
<img
src=\"appserv/annoicon.gif\" width=\"20\" height=\"20\" align=\"absmiddle\"> <a href=\""._LPHPMYADMIN."/phpinfo.php\">"._PHPINFO." "._VERSION." "._VPHP."</a></span> <br>
<img src=\"appserv/email.gif\" width=\"20\"
height=\"20\" align=\"absmiddle\"> <a href=\""._LPHPNUKE."/INSTALL\">"._NUKEDOC."</a></span><br>


</strong></span></font> </p>
<p><span
class=\"app\"><u>"._ABOUT." "._APPSERV." "._VERSION." "._APPVERSION." "._FOR." "._OS."</u><br>
"._APPSERV." "._IS." <br>
-<a href=\"http://www.apache.org\"> "._APACHE." "._VERSION." "._VAPACHE."</a><br>
- <a href=\"http://www.php.net\">"._PHP." "._VERSION." "._VPHP."</a><br>
- <a href=\"http://www.mysql.com\">"._MYSQL." "._VERSION." "._VMYSQL."</a><br>
- <a href=\"http://www.phpnuke.org\">"._PHPNUKE." "._VERSION." "._VPHPNUKE."</a><br>
- <a href=\"http://phpmyadmin.sourceforge.net\">"._PHPMYADMIN." "._VERSION." "._VPHPMYADMIN."</a><br>

</span>
</p>
</blockquote>
<ul>
<li><a href=\"appserv/ChangeLog.txt\"><span class=\"app\">"._CHANGELOG."</span></a></li>
<li> <a href=\"appserv/README-$appservlang.php?appservlang=$appservlang\"><span class=\"app\">"._README."</span></a></li>
<li><a href=\"appserv/AUTHORS.txt\"><span class=\"app\">"._AUTHOR."</span></a></li>
<li><a href=\"appserv/COPYING.txt\"><span class=\"app\">"._COPYING."</span></a></li>
<li><span class=\"app\"> "._SITE." : <a href=\"http://academic.cmri.ac.th/appserv\">ht ... appserv</a>
</li> </ul>

       <b> "._LANG." : </b><a href=\"index.php?appservlang=th\"><img src=\"appserv/flag-thai.png\" width=\"30\" height=\"16\" align=\"absmiddle\" border=\"0\"></a>  <a href=\"index.php?appservlang=en\"><img src=\"appserv/flag-english.png\" width=\"30\" height=\"16\" align=\"absmiddle\" border=\"0\"></a>
<br><br>
</td>
</tr>
<tr>
<td height=\"19\" bgcolor=\"#D2E9FF\"><font color=\"#000080\" class=\"headd\">   <img src=\"appserv/softicon.gif\" width=\"20\" height=\"20\" align=\"absmiddle\"> <b>"._SLOGAN."</b> </font></td>
</tr>
</table>
</div>
</body>
</html>
";

?>
StickyKid
竹貓忠實會員
竹貓忠實會員
文章: 1019
註冊時間: 2003-01-31 10:32
來自: Taichung, Taiwan
聯繫:

文章 StickyKid »

我想你可以去比對一下
花不了你多少時間的
當作是個練習
考驗自己的功力
Helvetica is a feature-length independent film about typography.
jt3
星球公民
星球公民
文章: 88
註冊時間: 2003-04-23 12:44

文章 jt3 »

eeee 寫:我有在www下找到 index.php,但是我找不到要改的內容 :x

<?php

/************************************************************************/
/* AppServ Open Project */
/* =========================== */
/* */
/* Copyright (c) 2001 by Phanupong Panyadee (apples@chek.com) */
/* http://academic.cmri.ac.th/appserv */
/* */
/* This program is free software. You can redistribute it and/or modify */
/* it under the terms of the GNU General Public License as published by */
/* the Free Software Foundation; either version 2 of the License. */
/************************************************************************/
$appserv_root = "appserv";
include("appserv/main.php");


print "
<html>
<head>
<title>AppServ Open Project</title>
<meta http-equiv="Content-Type" content="text/html; charset=""._CHARSET."">
<style>
<!-- Hide style for old browsers
BODY {font-family: MS Sans Serif;font-size="10"}
.headd { font-family: Helvetica,Verdana ; font-size: 13pt; text-decoration: none; }
.app { font-family: MS Sans Serif ; font-size: 10pt; text-decoration: none; }
A:link {text-decoration: none; color: #0000FF}
A:visited {text-decoration: none; color: #0000FF}
A:hover {text-decoration: none; color: #FF0000}
A:active {text-decoration: none; color: #FF0000}
-->
</style>
</head>
<body bgcolor="#FFFFFF">
<div align="left">
<table border="0" width="100%" height="19">
<tr bgcolor="#D2E9FF">
<td width="100%" height="19" valign="top"><font color="#000080">
<span class="headd"><strong><big>  The AppServ Open Project - "._APPVERSION." "._FOR." "._OS." </big></strong></span></font></td>
</tr>
</table>

</div>
<div align="left">
<table width="100%" border="0">
<tr bgcolor="#F9FBFF">
<td height="344">
<blockquote>
<p><font color="#000080"><span
class="headd"><strong><br>
<img src="appserv/members.gif" width="20"
height="20" align="absmiddle"> <span class="app"><a href=""._LPHPMYADMIN."/">"._PHPMYADMIN." "._VERSION." "._VPHPMYADMIN."</a><br>
<img src="appserv/account.gif" width="20"
height="20" align="absmiddle"> <span class="app"><a href=""._LPHPNUKE."/">"._PHPNUKE." "._VERSION." "._VPHPNUKE."</a>
<br>
<img
src="appserv/annoicon.gif" width="20" height="20" align="absmiddle"> <a href=""._LPHPMYADMIN."/phpinfo.php">"._PHPINFO." "._VERSION." "._VPHP."</a></span> <br>
<img src="appserv/email.gif" width="20"
height="20" align="absmiddle"> <a href=""._LPHPNUKE."/INSTALL">"._NUKEDOC."</a></span><br>


</strong></span></font> </p>
<p><span
class="app"><u>"._ABOUT." "._APPSERV." "._VERSION." "._APPVERSION." "._FOR." "._OS."</u><br>
"._APPSERV." "._IS." <br>
-<a href="http://www.apache.org"> "._APACHE." "._VERSION." "._VAPACHE."</a><br>
- <a href="http://www.php.net">"._PHP." "._VERSION." "._VPHP."</a><br>
- <a href="http://www.mysql.com">"._MYSQL." "._VERSION." "._VMYSQL."</a><br>
- <a href="http://www.phpnuke.org">"._PHPNUKE." "._VERSION." "._VPHPNUKE."</a><br>
- <a href="http://phpmyadmin.sourceforge.net">"._PHPMYADMIN." "._VERSION." "._VPHPMYADMIN."</a><br>

</span>
</p>
</blockquote>
<ul>
<li><a href="appserv/ChangeLog.txt"><span class="app">"._CHANGELOG."</span></a></li>
<li> <a href="appserv/README-$appservlang.php?appservlang=$appservlang"><span class="app">"._README."</span></a></li>
<li><a href="appserv/AUTHORS.txt"><span class="app">"._AUTHOR."</span></a></li>
<li><a href="appserv/COPYING.txt"><span class="app">"._COPYING."</span></a></li>
<li><span class="app"> "._SITE." : <a href="http://academic.cmri.ac.th/appserv">htt ... appserv</a>
</li> </ul>

       <b> "._LANG." : </b><a href="index.php?appservlang=th"><img src="appserv/flag-thai.png" width="30" height="16" align="absmiddle" border="0"></a>  <a href="index.php?appservlang=en"><img src="appserv/flag-english.png" width="30" height="16" align="absmiddle" border="0"></a>
<br><br>
</td>
</tr>
<tr>
<td height="19" bgcolor="#D2E9FF"><font color="#000080" class="headd">   <img src="appserv/softicon.gif" width="20" height="20" align="absmiddle"> <b>"._SLOGAN."</b> </font></td>
</tr>
</table>
</div>
</body>
</html>
";

?>
請把上面全部的程式碼都刪掉,再用\r
<?php

header("Location: phpbb/");

?>
這3行取代它,然後存檔.....OK?
jt3
星球公民
星球公民
文章: 88
註冊時間: 2003-04-23 12:44

文章 jt3 »

按錯了~~請刪除....抱歉啦 :oops:
eeee
星球普通子民
星球普通子民
文章: 18
註冊時間: 2003-08-28 17:40

文章 eeee »

我改了
ServerName myfamily.no-ip.info
DocumentRoot "C:/AppServ/www/"

然後, index.php 內容我也改\r

可是我打網址是 myfamily.no-ip.info 時,找不到網頁耶\r
而要打 localhost 才會出現?

在基本組態的地方 網址我也改成 myfamily.no-ip.info
eeee
星球普通子民
星球普通子民
文章: 18
註冊時間: 2003-08-28 17:40

文章 eeee »

:lol:

已經可以嚕~~謝謝!!  ^^
天霜
竹貓忠實會員
竹貓忠實會員
文章: 882
註冊時間: 2003-04-15 19:40
來自: 星之鄉學園
聯繫:

文章 天霜 »

你有開啟No-IP DUC這個程式嗎?
不回答來自 私人訊息, 電子郵件, 及時通 的相關 phpBB 問題
除非是個人疏失所造成的問題

這世界還有拼命守護的價值嗎...
eeee
星球普通子民
星球普通子民
文章: 18
註冊時間: 2003-08-28 17:40

文章 eeee »

嗯 我開了~
已經可以正常運作了~~~ 謝謝
天霜
竹貓忠實會員
竹貓忠實會員
文章: 882
註冊時間: 2003-04-15 19:40
來自: 星之鄉學園
聯繫:

文章 天霜 »

eeee 寫:嗯 我開了~
已經可以正常運作了~~~ 謝謝
需要中文化程式嗎? 
不回答來自 私人訊息, 電子郵件, 及時通 的相關 phpBB 問題
除非是個人疏失所造成的問題

這世界還有拼命守護的價值嗎...
eeee
星球普通子民
星球普通子民
文章: 18
註冊時間: 2003-08-28 17:40

文章 eeee »

天霜 寫:
eeee 寫:嗯 我開了~
已經可以正常運作了~~~ 謝謝
需要中文化程式嗎? 

什麼的 中文化程式呢???
Martinet
竹貓忠實會員
竹貓忠實會員
文章: 850
註冊時間: 2003-06-09 21:58
聯繫:

文章 Martinet »

eeee 寫:
天霜 寫:
eeee 寫:嗯 我開了~
已經可以正常運作了~~~ 謝謝
需要中文化程式嗎? 

什麼的 中文化程式呢???
NO-IP Client端程式的中文化 : http://www.softking.com.tw/soft/clickco ... fid3=20558
JCdoIT4u
星球公民
星球公民
文章: 39
註冊時間: 2003-05-24 14:20
來自: Hong Kong
聯繫:

文章 JCdoIT4u »

我也出現這個情況,有誰能幫我測試。
感謝幫忙。 :mrgreen:

http://tigerofasia.no-ip.com
主題已鎖定

回到「phpBB 2 安裝與使用」