I enter in the address bar:
http: //localhost/cloudrap/index.php

Displays the following:

The requested URL /cloudrap/index.php was not found on this server.
Denver's Tip
You made a mistake when typing the URL in the browser. Most likely, the server is trying to find the file Z: / home / localhost / www / cloudrap /, which does not exist.
In the case of using CGI scripts, the correct paths to the CGI directories are as follows:
URL to

http: // / cgi- glob / script.cgi /home/cgi-glob/script.cgi http: // / cgi / script.cgi / home / /cgi/script.cgi http: // / cgi-bin / script.cgi /home/***/cgi-bin/script.cgi Script path index.php:
Z: \ home \ cloudrap \ index.php

What's my mistake?

  • server logs to studio - Naumov

3 answers 3

In the address bar, you just need to enter http: // cloudrap

    Path: Z:\home\cloudrap\www\index.php

    Address: http://cloudrap/index.php

    Or

    Path: Z:/home/localhost/www/cloudrap/index.php

    Address: http://localhost/cloudrap/index.php

    Read more - section "Working with virtual hosts"

    All virtual hosts, after running Denver, are registered in the hosts (Win 7 - C: \ windows \ system32 \ drivers \ etc). You can run and see if your host has registered, if not, see the logs and errors for a start.

    • Nothing works. I have already tried it many times - FLWRZ4U
    • Are you sure that your server starts at all? - Bookin
    • Yes, it starts. Checked - FLWRZ4U
    • Well, the disk was mounted, it does not mean that everything else works. Generally a long time with Denver did not work I do not remember what was there for what. - Bookin
    • one

    Check the name of the index.php file if you renamed it from a text file, it may have been saved as index.php.txt. To check it, type http: // cloudrap / and if Denver does not find the index.php file or index.html in the browser the list will be displayed. files in the root of the site if there index.php.txt then you need to rename it.

    Carefully check that the file was in this directory Z: \ home \ cloudrap \ www \ index.php and restart the server and go to http: //cloudrap/index.php

    • Restarted Denwer - does not work. - FLWRZ4U
    • check what is in the file Z: \ usr \ local \ apache \ conf \ vhosts.conf - croll