httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Good Guy <xfs...@hotmail.com>
Subject [users@httpd] Re: Error 404 Not Found
Date Sat, 07 Dec 2013 20:42:12 GMT
On 07/12/2013 00:44, Robert wrote:
> Apache 2.2 installed and running on my own Windows Vista 64bit SP2
> computer.
> File events_startup.html initiates my website home page and it contains
> the following code:
>   <div class="di-anytime">
>    <a href="cycle-login" target="_top" target='window1'title="Click to
> login for cycling stats...">
>     <img class="ic-anytime" src="/images/anytime.jpg" alt=""/>/a>
>   </div class="di-anytime">
> File cycle-login is cycle-login.php and if working properly displays a
> login form.  Mysql is read and
> username-password is validated.  If successful user is presented with a
> second form for data input.
> Both these files reside in c:\apache2\htdocs.
> Contained in c:\apache2\conf\httpd.conf are following pertinent entries:
> ServerRoot "c:\apache2"
> DocumentRoot "c:\apache2\htdocs"
> *The Issue:*
> events_startup.html executes correctly and displays the website home
> page either by
> entering my domain name into a browser or entering
> localhost/events_startup.html or
> by entering my IP address followed by events_startup.html.
> When I mouse click into the anytime.jpg image I receive the messages
> "The requested URL /cycle-login was not found on this server."
> "Error 404 Not Found".
> Thank you for your help.
> Robert


It could be that you need to change: "cycle-login" to "cycle-login.php" 
in your html code and also make sure that cycle-login.php file resides 
in the root of the server.

<a href="cycle-login.php" target="_top" target='window1'title="Click to
  login for cycling stats...">
      <img class="ic-anytime" src="/images/anytime.jpg" alt=""/>/a>
    </div class="di-anytime">


Good luck.



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message