Why is the modified document root is not taken by Apache2.2?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
In file httpd.conf
I modified DocumentRoot "C:/Program Files/Apache Software Foundation/Apache2.2/htdocs" , to be DocumentRoot "C:/Program Files/Apache Software Foundation/Apache2.2/test"
Then <Directory "C:/Program Files/Apache Software Foundation/Apache2.2/htdocs"> to be <Directory "C:/Program Files/Apache Software Foundation/Apache2.2/test">
at the end of the above operation I created a directory "test" in the Apache2.2 directory and put inside the file phptest.php which contained the script .
html>
<head>
<title> PHP </title>
</head>
<body>
<?php
echo "It really works!"
?>
</body>
</html>
But the message "It really works" does not get displayed when typed the URL http:/localhost/test/phptest.php, what is displayed is "
Not Found
The requested URL /test/phptest.php was not found on this server.
The line LoadModule php5_module "c:/php/apache2_2.dll and the lines AddType application/x-httpd-php .php, AddType application /x-httpd-php-source .phps were also added
Regards Varuna
[Index of Archives]
[Open SSH Users]
[Linux ACPI]
[Linux Kernel]
[Linux Laptop]
[Kernel Newbies]
[Security]
[Netfilter]
[Bugtraq]
[Squid]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Samba]
[Video 4 Linux]
[Device Mapper]