2016-12-20 8 views
0

2 html 페이지가 있습니다. 나는 아파치 2에서 내 문서 루트 (var/www) 안에 첫 번째 html 페이지를 넣었다. 그것은 두 번째 페이지를 움직이는 버튼을 가지고 있습니다. 내가 브라우저에서 내 IP를 입력 할 때, 나는 첫 페이지 ı 보도 로그인을 볼 수 있지만 404 오류가 in.Where가어디에 내 두 번째 페이지를 넣어야합니까

<html> 
<h1>Welcome to e-flea market!</h1> 
<table align="center" width="40%" height="88" bgcolor="rgb(21, 232, 246)"> 
<tr> 

<td align="left" width="50"> 
<p align="left"> 
<font color="#ffffff" size="3"> 
Your name:<br> 
</font> 
<input type="text"><br> 
<font color="#9DACCB" size="5"> 
</font> 
</p> 
</td> 

<td align="left" width="100"> 
<p align="left"> 
<br> 
<form method="get" action="\Users\Hp\.atom\2ndpage.html" > 
<input type="submit" value="LOGIN"> 
</p> 
</td> 
</tr> 
</table> 
</body> 
</html> 

답변

0

가정 2ndpage.html이 동일한에

여기 내 코드 내 secondpage 찾을 그래야 온다 디렉토리를 첫 페이지로 설정하면 양식을 다음과 같이 업데이트 할 수 있습니다.

<form method="get" action="2ndpage.html" >