#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2010
    Posts
    95
    Rep Power
    0

    Why I am not getting directing to index.php


    Hello,

    I have a live project placed on my home server, but when I go to the website URL from another router(out of LAN which has the project server): www.mydomain.com, then I get directed to the router page which is located at my home, i get this URL: www.mydomain.com/cgi-bin/login.cgi Page not found. Sometimes I get the index.php also!

    Sometimes if I go to the link: http://mydomain.com, I get into index.php and if I go to www.mydomain.com, I get into the page not found which refers to the router

    I have put on the sites-available page for the mydomain.com in

    <Directory />
    DirectoryIndex index.php
    </Directory>


    Would you please hint me on this?

    Thank you!
  2. #2
  3. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2010
    Posts
    95
    Rep Power
    0
    I am getting this error in apache2 log:
    script not found or unable to stat /usr/lib/cgi-bin/login.cgi

IMN logo majestic logo threadwatch logo seochat tools logo