[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

Error  using Apache 2.4

Posted on 2016-07-27
9
Medium Priority
?
38 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 4
9 Comments
 
LVL 84

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 84

Expert Comment

by:Dave Baldwin
ID: 41730974
I don't know, you have me confused.  Where did you install Apache?
0
Learn Veeam advantages over legacy backup

Every day, more and more legacy backup customers switch to Veeam. Technologies designed for the client-server era cannot restore any IT service running in the hybrid cloud within seconds. Learn top Veeam advantages over legacy backup and get Veeam for the price of your renewal

 
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
 
LVL 84

Accepted Solution

by:
Dave Baldwin earned 2000 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 84

Expert Comment

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

Featured Post

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.

Question has a verified solution.

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

In Solr 4.0 it is possible to atomically (or partially) update individual fields in a document. This article will show the operations possible for atomic updating as well as setting up your Solr instance to be able to perform the actions. One major …
If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
The viewer will learn how to count occurrences of each item in an array.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
Suggested Courses

650 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