Solved

Error  using Apache 2.4

Posted on 2016-07-27
9
22 Views
Last Modified: 2016-07-27
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
Comment
Question by:Panos
  • 5
  • 4
9 Comments
 
LVL 83

Expert Comment

by:Dave Baldwin
ID: 41730769
"C:/Inetpub/wwwroot/" is for IIS, not Apache.
1
 
LVL 2

Author Comment

by:Panos
ID: 41730785
Hi.
Thank you for your response.
What is the right syntax?
0
 
LVL 83

Expert Comment

by:Dave Baldwin
ID: 41730974
I don't know, you have me confused.  Where did you install Apache?
0
 
LVL 2

Author Comment

by:Panos
ID: 41731089
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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
LVL 83

Accepted Solution

by:
Dave Baldwin earned 500 total points
ID: 41731610
According to your 'httpd.conf' file, your DocumentRoot for Apache is at "c:/Apache24/htdocs".  ??
0
 
LVL 2

Author Comment

by:Panos
ID: 41731689
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
 
LVL 2

Author Comment

by:Panos
ID: 41731698
Thank you for your help.
I changed the DocumentRoot folder in the httpd.conf file and it is working.
0
 
LVL 2

Author Closing Comment

by:Panos
ID: 41731700
Thank you
regards Panos
0
 
LVL 83

Expert Comment

by:Dave Baldwin
ID: 41731755
You're welcome, glad to help.
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Things That Drive Us Nuts Have you noticed the use of the reCaptcha feature at EE and other web sites?  It wants you to read and retype something that looks like this.Insanity!  It's not EE's fault - that's just the way reCaptcha works.  But it is …
These days socially coordinated efforts have turned into a critical requirement for enterprises.
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

939 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now