troubleshooting Question

How to redirect the web access into different web apps. location using apache httpd.conf

Avatar of jjoz
jjozFlag for Australia asked on
LinuxApache Web ServerLinux Networking
18 Comments1 Solution1263 ViewsLast Modified:
Hi Everyone,

I got two web apps in my single linux box, they are Wiki and Mantis
the screenshot of the web apps directory shown below.

I have created the DNS CNAME record for this server which point to the main server SV6 --> SV6
rather than: http://sv6/mantis/my_view_page.php --> SV6
rather than: http://sv6/mediawiki/index.php/Main_Page

here's the :/etc/apache2/httpd.conf file content

somehow i got error after i edit it and restart the Apache server.

can anyone help me please ?

<VirtualHost *:80>
    DocumentRoot /usr/share/mantis/www
    ErrorLog logs/
    CustomLog logs/ common

<VirtualHost *:80>
    DocumentRoot /var/lib/mediawiki
    ErrorLog logs/
    CustomLog logs/ common

root@sv6:/etc/apache2# apache2ctl start

root@sv6:/etc/apache2# apache2ctl status
w3m: Can't load http://localhost:80/server-status.
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 18 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 18 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros