• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 41
  • Last Modified:

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/phpmyadmin"
    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?
0
Panos
Asked:
Panos
  • 5
  • 4
1 Solution
 
Dave BaldwinFixer of ProblemsCommented:
"C:/Inetpub/wwwroot/" is for IIS, not Apache.
1
 
PanosAuthor Commented:
Hi.
Thank you for your response.
What is the right syntax?
0
 
Dave BaldwinFixer of ProblemsCommented:
I don't know, you have me confused.  Where did you install Apache?
0
Get your Disaster Recovery as a Service basics

Disaster Recovery as a Service is one go-to solution that revolutionizes DR planning. Implementing DRaaS could be an efficient process, easily accessible to non-DR experts. Learn about monitoring, testing, executing failovers and failbacks to ensure a "healthy" DR environment.

 
PanosAuthor Commented:
All the details:
Operating system Windows 10
Apache folder C:/Apache24
DocumentRoot "C:/Inetpub/wwwroot/phpmyadmin"
C:/windows/system32/drivers/etc/hosts file add line:
127.0.0.1 phpmyadmin.selfip.com
attached httpd file:
httpd.txt
0
 
Dave BaldwinFixer of ProblemsCommented:
According to your 'httpd.conf' file, your DocumentRoot for Apache is at "c:/Apache24/htdocs".  ??
0
 
PanosAuthor Commented:
According to the conf file yes.... but i have the phpmyadmin folder in  C:/Inetpub/wwwroot  folder.
Hmmm...Something is wrong in my setup.
0
 
PanosAuthor Commented:
Thank you for your help.
I changed the DocumentRoot folder in the httpd.conf file and it is working.
0
 
PanosAuthor Commented:
Thank you
regards Panos
0
 
Dave BaldwinFixer of ProblemsCommented:
You're welcome, glad to help.
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 5
  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now