UK WEB HOSTING FORUM FOR DISCUSSION ON WEB HOSTING SERVICE AND SUPPORT
LINUX HOSTING WINDOWS HOSTING PACKAGES SHOPPING CART OSCOMMERCE ZEN CART AGORA
ECOMMERCE HOSTING ASP MSSQL FRONTPAGE HOSTING PHP MYSQL HOSTING DISCUSSION FORUM
CPANEL RESELLER HOSTING DEDICATED SERVER VPS HOSTING PLESK VIRTUOZZO
Quick Search
Your forum announcement here!

  UK Web Hosting | Dedicated Server Windows and Linux VPS Forum > Technical Support > cPanel Shared Hosting

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 20-07-2007, 08:55
Junior Member
 
Join Date: Jul 2007
Posts: 24
Default Fantastico and addon domains

Hi all !

Before opening a ticket I ask here as I already did succesfully.

I had the www.durchbrechen.com domain, with a subdomain thoughts.durchbrechen. Both are running wordpress and I'am happy with them.
So I bought a new domain, www.ipogonadismo.net, for a non profit association I belong to.

I did the usual installation of wordpress, using Fantastico.
The new wordpress in ipgonadismo functions but..... it has not images ! Wordpress has no more images in all the control panel, you cannot even format messages.
CHMOD useless.
It's not a wordpress problem.
I tried to install JOOMLA. Same thing:

http://ipogonadismo.net/joomla/

It seems that Fantastico installations in the new addon domain are not capable to see images......

Therefore I look at the html.

I see that the lacking image has this url:
http://ipogonadismo.net/joomla/image...ges/atom03.gif

I go to see if there is the image in the installion. Yes, there is !
/public_html/ipogonadismo.net/joomla/images/M_images/atom03.gif

But it doesn't show it !!
If you try to go at that images' url you are redirected to the home page ....

What's the problem ?

many thanks for your advise

cheers
Paolo

Last edited by Durchbrechen : 20-07-2007 at 08:58. Reason: typo
Reply With Quote
  #2 (permalink)  
Old 20-07-2007, 11:19
Junior Member
 
Join Date: Jul 2007
Posts: 24
Default

Update. I tried to use the >cpanel>Hot link protection feature, where the only allowed domain was the main one, and not the added-one.

I thought that the system could assume that images' links coming from ipogonadismo.net could be external and not admit them.

Sadly, adding the new addon domain to the list, I obtain this error message:
There was an error while enabling hotlink protection
Apache detected an error in the Rewrite config.
Syntax error on line 26 of /home/durchbre/public_html/.htaccess.TL8mUOSTki6MKRRYWBtXJzdbVB1hFJEu:
RewriteBase: only valid in per-directory config files
Please try again.
I don't have any clue about this. I never touched htaccess.

Last edited by Durchbrechen : 20-07-2007 at 11:23.
Reply With Quote
  #3 (permalink)  
Old 20-07-2007, 11:52
DPS Computing's Avatar
Premium Member
 
Join Date: Apr 2007
Location: Manchester, United Kingdom
Posts: 4,458
Send a message via ICQ to DPS Computing Send a message via AIM to DPS Computing Send a message via MSN to DPS Computing Send a message via Yahoo to DPS Computing Send a message via Skype™ to DPS Computing
Default

if your sure that its nothing to do with the hotlink protection it sounds like a mod_security problem with you being redirected to the home page when trying to view the image directly. I'm sure someone will be along shortly to confirm this but if you want to give the mod_security solution a go just search the forum for "mod_security" and you will see the solution plently of times.

If that doesn't work then remove the mod_security solution as your account is more at risk with it in place.
__________________
David Smith
DPS Computing
http://www.dpscomputing.com (Computing, Reviews, News) - New site / new polls / new stories! With many more to follow!
NEW LAUNCH! http://djdavid.dpscomputing.com (My DJ Website)
NEW LAUNCH! http://davidsmith.dpscomputing.com (My Personal Website)
Reply With Quote
  #4 (permalink)  
Old 20-07-2007, 12:30
Junior Member
 
Join Date: Jul 2007
Posts: 24
Default

Hi David. Yes, from the past messages it seems it's prolly a mod_security issue.
I go to open a ticket.

I've just done the simplest of the tests.

I've uploaded an image and tried to watch it.... my new addon domain doesn't show any image, period. No way to modify Hotlink protection (in the case Hotilink protection is the culprit)

http://www.ipogonadismo.net/digestion.jpg

cheers
Paolo
Reply With Quote
  #5 (permalink)  
Old 20-07-2007, 12:34
DPS Computing's Avatar
Premium Member
 
Join Date: Apr 2007
Location: Manchester, United Kingdom
Posts: 4,458
Send a message via ICQ to DPS Computing Send a message via AIM to DPS Computing Send a message via MSN to DPS Computing Send a message via Yahoo to DPS Computing Send a message via Skype™ to DPS Computing
Default

Yes, it definitely sounds like a mod_security problem especially with the redirection to home page - I have seen this many times before and it has been a mod_security problem.

Keep us updated on how your ticket goes and good luck!
__________________
David Smith
DPS Computing
http://www.dpscomputing.com (Computing, Reviews, News) - New site / new polls / new stories! With many more to follow!
NEW LAUNCH! http://djdavid.dpscomputing.com (My DJ Website)
NEW LAUNCH! http://davidsmith.dpscomputing.com (My Personal Website)
Reply With Quote
  #6 (permalink)  
Old 20-07-2007, 21:52
eUKhost.com's Avatar
Chief Marketing Officer
 
Join Date: Sep 2005
Posts: 4,256
Send a message via AIM to eUKhost.com Send a message via MSN to eUKhost.com
Default

You can disable mod_security for your account with following .htaccess code :-

Code:
<IfModule mod_security.c>

    SecFilterEngine Off

    SecFilterScanPOST Off

</IfModule>
If you dont wish to disable mod_security then open a ticket for our support staff and ask them to check whats wrong with the rules.
__________________
UK Web Hosting || Business Hosting || eUKhost Knowledgebase
Toll Free : 0808 262 0255 || MSN : mark @ eukhost.com || AIM : eukmark
A bunch of Sheep led by a Lion is better than a bunch of Lions led by a Sheep.
__________________________________________________

Great Opportunity :: Join our Affiliate Program for FREE and earn 20% commission on each referral.
Reply With Quote
  #7 (permalink)  
Old 20-07-2007, 22:03
Junior Member
 
Join Date: Jul 2007
Posts: 24
Default

Thanks a lot Mark, Sam (Ehkhost Support) has quickly solved the problem. It was the RewriteRule "RewriteRule .*\.(jpg|jpeg|gif|png|bmp)$ - [F,NC]" in the .htaccess of the main domain affecting the images for the addon one. Disabling the rule all it's working fine. Indeed it wasn't an issue I could solve alone ....

cheers
Paolo
Reply With Quote
  #8 (permalink)  
Old 20-07-2007, 23:00
DPS Computing's Avatar
Premium Member
 
Join Date: Apr 2007
Location: Manchester, United Kingdom
Posts: 4,458
Send a message via ICQ to DPS Computing Send a message via AIM to DPS Computing Send a message via MSN to DPS Computing Send a message via Yahoo to DPS Computing Send a message via Skype™ to DPS Computing
Default

Glad to see you managed to get it sorted Paolo.

Good luck with the rest of your website .
__________________
David Smith
DPS Computing
http://www.dpscomputing.com (Computing, Reviews, News) - New site / new polls / new stories! With many more to follow!
NEW LAUNCH! http://djdavid.dpscomputing.com (My DJ Website)
NEW LAUNCH! http://davidsmith.dpscomputing.com (My Personal Website)
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 22:32.

 

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by Web Hosting 3.1.0
Copyright © 2001-2008, eUKhost.com. All rights reserved.

 
Site Map

knowledgebase articles

popular blog categories