🕵️‍♂️ Engage in discussions ANONYMOUSLY. NO REGISTRATION is required. 💬

✅ Registered accounts earn up to $25 per thread via PayPal and BTC. 🤑 Read more in News and Announcments! Unlock the ability to chat, share, send private messages and earn money per post in our community. Just register an account. It's Free!

SignUp Now!
  • 🕵️‍♂️ Engage in discussions ANONYMOUSLY. NO REGISTRATION is required. 💬 ✅ Registered accounts earn up to $25 per thread via PayPal and BTC. 🤑 Read more... Unlock the ability to chat, share, send private messages and earn money per post in our community. Just register an account. It's Free!

Question Apache2 /manual Documentation loading on the website

Choose this one if you want to ask a question
New member
Joined
Aug 20, 2023
Messages
8
Credits
65
My server configuration opens "mywebsite.com/manual" and loads a page with the Apache2 default manual. Do you know how to fix this problem and how to debug it? I have many Virtual host files. I checked all the Vhosts files, and they look good to me! I didn't find issues inside them. :cry:

Steps to reproduce:
  1. Open the browser and enter any website hosted on the server
  2. Add /manual after the website URL like this website.com/manual
  3. The Apache2 Documentation is loading on my website
What I tried to fix the problem:
  1. I checked all the .conf files inside the sites-enabled and sites-available folders - they seem perfect!
  2. I looked for .htaccess inside the /etc/sites-enabled and /etc/sites-available folders and didn't find any.
  3. I searched for .htacess files inside my public_html directory and found none.
  4. I opened every website folder to check inside for .htaccess rules that might create this problem - but found none.
  5. I looked at /etc/apache2/apache2.conf, but everything seems untouched. I don't see anything unusual.
  6. I checked apache2-doc.conf to find out everything is in order.
Please help. I have no idea how to fix this at this point.
 

Attachments

  • apache2-manual-vhosts-bug.jpg
    apache2-manual-vhosts-bug.jpg
    108.6 KB · Views: 1
Solution
Funny enough, I had this problem and fixed it in a really simple way:
Disable the apache2-doc conf and restart the apache2 service.
Bash:
a2disconf apache2-doc
service apache2 restart

w_G

Global Admin
Staff member
Joined
Aug 15, 2023
Messages
13
Credits
285
Check mod_rewrite:
  • Ensure that mod_rewrite is enabled in Apache.
  • Check if any other rewrite rules might be conflicting.
  • Verify that the RewriteEngine on the directive is adequately set,
Check SSL settings:
  • Confirm that mod_ssl is enabled in Apache.
  • Make sure the SSL certificate and key file paths are accurate.
  • Ensure that the SSL settings, like SSLEngine, are correctly set.
Restart Apache2 after making changes.
 
New member
Joined
Aug 20, 2023
Messages
8
Credits
65
Bash:
sudo a2enmod rewrite
Module rewrite already enabled
-----
sudo a2enmod mod_ssl
ERROR: Module mod_ssl does not exist! But I use origin certificates from Cloudflare.

But I use origin certificates from Cloudflare
 

w_G

Global Admin
Staff member
Joined
Aug 15, 2023
Messages
13
Credits
285
Since you're using Cloudflare's origin certificates, you might not need the mod_ssl module enabled. If mod_rewrite is already enabled and your virtual host configurations seem correct, you might want to focus on any other factors that could affect the behavior:
  1. Clear your browser cache or try a different browser.
  2. Check if any global .htaccess files are affecting the behavior.
  3. Consider testing the configuration on another machine or network.
 
New member
Joined
Aug 20, 2023
Messages
1
Credits
8
What does the Apache error log say in var/log/apache2/error.log ?

I would deploy the configuration on a local or testing environment to isolate server-specific issues. Also check Cloudflare settings, including Page Rules, SSL settings, and DNS configurations! A simple cache issue may be the problem. Clear Reddis or any server-side cache.
 
New member
Joined
Aug 20, 2023
Messages
8
Credits
65
It said something about hhtp2 mpm module but I think nothing related to the current problem.
[Mon Aug 28 00:00:06.037003 2023] [http2:warn] [pid 178340] AH10034: The mpm module (prefork.c) is not supported by m>
 
Moderator
Joined
Aug 18, 2023
Messages
19
Credits
216
Funny enough, I had this problem and fixed it in a really simple way:
Disable the apache2-doc conf and restart the apache2 service.
Bash:
a2disconf apache2-doc
service apache2 restart
 
Solution
Top