Panos
asked on
Error using Apache 2.4
Hello experts
recently i did set up a new home pc for testing. I installed Apache 2.4
Trying to use it with virtual host i have some errors.
One of them is using phpmyadmin.
I can go trough the login page to the main panel.
If i submit a form for action , to make a change or upload .sql files... i get an error like:
Not Found
The requested URL /search.php was not found on this server.
My virtual host settings are:
<VirtualHost *:80>
ServerAdmin test@test-host.example.com
DocumentRoot "C:/Inetpub/wwwroot/phpmya dmin"
ServerName phpmyadmin.selfip.com
ServerAlias *.phpmyadmin.selfip.com
<Directory C:/Inetpub/wwwroot>
AllowOverride none
Require all granted
</Directory>
ErrorLog logs/phpmyadmin.loc-error. log
CustomLog logs/phpmyadmin.loc-access .log common
</VirtualHost>
Any help?
recently i did set up a new home pc for testing. I installed Apache 2.4
Trying to use it with virtual host i have some errors.
One of them is using phpmyadmin.
I can go trough the login page to the main panel.
If i submit a form for action , to make a change or upload .sql files... i get an error like:
Not Found
The requested URL /search.php was not found on this server.
My virtual host settings are:
<VirtualHost *:80>
ServerAdmin test@test-host.example.com
DocumentRoot "C:/Inetpub/wwwroot/phpmya
ServerName phpmyadmin.selfip.com
ServerAlias *.phpmyadmin.selfip.com
<Directory C:/Inetpub/wwwroot>
AllowOverride none
Require all granted
</Directory>
ErrorLog logs/phpmyadmin.loc-error.
CustomLog logs/phpmyadmin.loc-access
</VirtualHost>
Any help?
"C:/Inetpub/wwwroot/" is for IIS, not Apache.
ASKER
Hi.
Thank you for your response.
What is the right syntax?
Thank you for your response.
What is the right syntax?
I don't know, you have me confused. Where did you install Apache?
ASKER
All the details:
Operating system Windows 10
Apache folder C:/Apache24
DocumentRoot "C:/Inetpub/wwwroot/phpmya dmin"
C:/windows/system32/driver s/etc/host s file add line:
127.0.0.1 phpmyadmin.selfip.com
attached httpd file:
httpd.txt
Operating system Windows 10
Apache folder C:/Apache24
DocumentRoot "C:/Inetpub/wwwroot/phpmya
C:/windows/system32/driver
127.0.0.1 phpmyadmin.selfip.com
attached httpd file:
httpd.txt
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
According to the conf file yes.... but i have the phpmyadmin folder in C:/Inetpub/wwwroot folder.
Hmmm...Something is wrong in my setup.
Hmmm...Something is wrong in my setup.
ASKER
Thank you for your help.
I changed the DocumentRoot folder in the httpd.conf file and it is working.
I changed the DocumentRoot folder in the httpd.conf file and it is working.
ASKER
Thank you
regards Panos
regards Panos
You're welcome, glad to help.