Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

I'm using a service that requires a URL to be sent to their site so that it can return an HTML snapshot to Googles crawlers. In their .htaccess code it has the line

<IfModule mod_proxy_http.c>

and it doesnt make it past that statement (implying that I dont have that module installed/enabled?) But the service says that most servers should have that installed. I tried contacting JustHost but havent received a response yet so was hoping you could help. I dont know much about this stuff so I dont know where to begin but on JustHosts cPanel it doesnt seem to let me into their httpd.conf which is where most resources are saying to fix this. It does however let me add things to the "Apache Handler" but frankly I have no idea how.

share|improve this question
1  
Is this shared hosting? It may be best to wait to hear from tech support for exact advice. I also strongly recommend pursuing the question here too. As of right now, I do not have advice for you. Normally these things are specified within the httpd.conf or apache2.conf files. Also, mod_proxy is a significant security risk that most hosts disable short of a dedicated server. –  closetnoc Jul 14 at 19:12
    
phpinfo() is a quick way to find out a lot about your hosting environment. Look in the Loaded Modules section to see which Apache modules are installed. –  AllInOne Jul 14 at 23:15

1 Answer 1

up vote 1 down vote accepted

I would be surprised if they had mod_proxy enabled on their shared hosting servers. The amount of abuse that would open them up to would be quite high.

If you are on your own VPS instance then you can simply log in as root and issue the "a2enmod proxy_http" on debian/ubuntu and then restart apache.

http://www.justhost.com/vps

share|improve this answer
    
Yah I forgot to add a comment that I got in contact with them and they said exactly what you did. Not available on shared I'd have to get a VPS. –  user2070057 Jul 17 at 12:35

Your Answer

 
discard

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.