Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Good morning. I recently migrated my web server to new hardware and to the newest version of Apache. I was running Apache 2 before as well just to be clear. I seem to be having problems getting my virtualhost to work properly. On the old server, I only had 1 virtualhost set up and it was for /var/ww/prism. When I moved everything to the new server, I could hit the prism site, but unfortunately everywhere you tried to navigate within /var/www would fail because it was trying to look within the prism site. I discovered through documentation that adding the _default_:* virtualhost should clear it up. Thankfully this did allow me to get to all of the other sites directly via IP, but unfortunately now my prism virtualhost doesnt navigate when I put in the URL. Does anyone see any obvious misconfigurations in my httpd.conf?

<Directory /var/www/employment_applicant_tracking/secure/pdf/>
Order deny,allow
Deny from all
Allow from, localhost
Allow from
Options none
<Directory /var/www/cfide/>
Order allow,deny
Allow from
Allow from 127
<Directory /var/www/CFIDE/>
Order allow,deny
Allow from
Allow from 127
<Directory /var/www/>
ErrorDocument 400 /error.html
ErrorDocument 401 /error.html
ErrorDocument 403 /error.html
ErrorDocument 404 /error.html
ErrorDocument 405 /error.html
ErrorDocument 406 /error.html
ErrorDocument 407 /error.html
ErrorDocument 408 /error.html
ErrorDocument 409 /error.html
ErrorDocument 410 /error.html
ErrorDocument 411 /error.html
ErrorDocument 412 /error.html
ErrorDocument 413 /error.html
ErrorDocument 414 /error.html
ErrorDocument 415 /error.html
ErrorDocument 500 /error.html
ErrorDocument 501 /error.html
ErrorDocument 502 /error.html
ErrorDocument 503 /error.html
ErrorDocument 504 /error.html
ErrorDocument 505 /error.html

<VirtualHost _default_:80>
DocumentRoot /var/www

ServerPath /prism/
DocumentRoot /var/www/prism

DirectoryIndex index.html index.htm index.cfm
# JRun Settings
LoadModule jrun_module /opt/coldfusion9/runtime/lib/wsconfig/1/
<IfModule mod_jrun22.c>
    JRunConfig Verbose false
    JRunConfig Apialloc false
    JRunConfig Ignoresuffixmap false
    JRunConfig Serverstore /opt/coldfusion9/runtime/lib/wsconfig/1/
    JRunConfig Bootstrap
    #JRunConfig Errorurl url <optionally redirect to this URL on errors>
    #JRunConfig ProxyRetryInterval 600 <number of seconds to wait before trying to reconnect to unreachable clustered server>
    #JRunConfig ConnectTimeout 15 <number of seconds to wait on a socket connect to a jrun server>
    #JRunConfig RecvTimeout 300 <number of seconds to wait on a socket receive to a jrun server>
    #JRunConfig SendTimeout 15 <number of seconds to wait on a socket send to a jrun server>
    AddHandler jrun-handler .jsp .jws .cfm .cfml .cfc .cfr .cfswf
<Files ~ ".hbmxml$">
Order allow,deny
Deny from all
share|improve this question
bah I was able to resolve the issue. forgot my entry in /etc/hosts – Brian Mar 13 '12 at 15:21
up vote 0 down vote accepted

had to put an entry in /etc/hosts

share|improve this answer
Glad you resolved this issue. Please be sure to mark your answer as "accepted" when you are able. – jscott Jul 14 '12 at 15:46

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.