Form Submission: Webhosting Support Request

xpsecurity

New member
cPanel User Name: xpsec
Name of Domain: securexp.gi9.co
Detailed Description: Hi,

I rewrote my site and now it has a graphic banner header. Is that not allowed? I see some rewrite rules in htaccess.
Additional Information: Not answered
 

Genesis

Administrator
I don't understand what you mean xp? Could you explain what you mean by "Is that not allowed?". If you mean Gigarank placed the advertisement banner then that is impossible. Do you have a previous copy of your Website so you can compare what is different from before?

By the way, the graphic doesn't show. It doesn't download for me. It just says "Secure Windows XP Home Edition" and blank space where the banner is supposed to be.
 

xpsecurity

New member
Genesis said:
I don't understand what you mean xp? Could you explain what you mean by "Is that not allowed?". If you mean Gigarank placed the advertisement banner then that is impossible. Do you have a previous copy of your Website so you can compare what is different from before?

By the way, the graphic doesn't show. It doesn't download for me. It just says "Secure Windows XP Home Edition" and blank space where the banner is supposed to be.

The graphic doesn't show for me neither. If I try to fetch the graphic from the browser, using: "securexp.gi9.co/blisstitle2jpg", it comes back and says "You don't have permission to access /blisstitle2.jpg on this server."
 

xpsecurity

New member
Hi,

I also found the following rules in htaccess:


RewriteRule .*\.(jpg|jpeg|gif|png|bmp)$ - [F,NC]

RewriteRule .*\.(jpg|jpeg|gif|png|bmp)$ - [F,NC]

RewriteRule .*\.(jpg|jpeg|gif|png|bmp)$ - [F,NC]

RewriteRule .*\.(jpg|jpeg|gif|png|bmp)$ - [F,NC]

RewriteRule .*\.(jpg|jpeg|gif|png|bmp)$ - [F,NC]


Can you tell me what they do? I have removed those lines temporarily to test.
 

Genesis

Administrator
You still haven't answered my original question. What are you trying to do? What is your objective?

It would also be helpful to provide all of the coding of the htaccess, not only part of it. Together with what you are trying to achieve.
By the way the objective of the rewrite rules is to prevent hotlinking of images.

http://www.htaccesstools.com/hotlink-protection/
 

Sander k

New member
If I am right... He wants to see the banner (header), but he doesn't due a wrong setting in his .htacces or a wrong CHMOD setting.

But you are right, with only a bit of the information its hard to help someone.
 

Genesis

Administrator
Sander k said:
If I am right... He wants to see the banner (header), but he doesn't due a wrong setting in his .htacces or a wrong CHMOD setting.

But you are right, with only a bit of the information its hard to help someone.
I got it the first time round (refer first exchange). In addition he doesn't know what the code is for or what had gone wrong when he had made his original edits to the htaccess file, hence why I asked him for the details. If you check the link I sent him you'll notice that in addition to explaining how the coding works for protecting images against hotlinking (which the snippets of code he provided us are for), that the Website I referred him to provides an option for generating that htaccess code oneself. That way he may be able to dig himself out of the problem without sharing the coding.

Another problem that could of occurred of course is when one edits an htaccess file, which is what he must have done, one has to be careful how one saves the file in Windows as that is also a possibility of what could have happened. He probably should start that htaccess completely from scratch.
 

xpsecurity

New member
Hi,

I have solved the problem using the htaccess generator that you posted. The file .htaccess now looks like this:

*content removed for security reasons*


Thank you both for your help.