Control Web Panel
WebPanel => Information => Topic started by: debo1990 on August 09, 2019, 09:01:41 PM
-
" Hotlink protection prevents other websites from directly linking to files (as specified below) on your website. Other sites will still be able to link to any file type that you don’t specify below (ie. html files). An example of hotlinking would be using a <img> tag to display an image from your site from somewhere else on the net. "
- is this feature available in CWP?
- if not any possible way to implement in the server.
Thanks.
-
Hi, you can use .htaccess for that. Just copy the rules from CPanel or other server ;)
-
Hi, you can use .htaccess for that. Just copy the rules from CPanel or other server ;)
Any working example please?
-
Hi, you can use .htaccess for that. Just copy the rules from CPanel or other server ;)
You get a blue ribbon for useless answers Igor.
-
You too, pixelpadre ;)
Any example must be checked at the website. There a lot of options.
-
You too, pixelpadre ;)
Any example must be checked at the website. There a lot of options.
You know....I did an advanced searched
Keyword=support
user=Igor S.
Result=30 posts where you told people to contact support.
We sure are glad that you are here to help us.
-
all in all, in Igor behalf, maybe not so much in teh forums has there been his support anymore..
He (and Sandeep) have been TOP NOTCH when you do Contact them/get them, with a support ticket.
There may be otehr reasons why teh "admins" dont/have time to react in the forums, as it is.. i'd personally
rather have them working ON cwp than ansering "Forum Questions" like useless ones asking how to "hot link protect"..
really? there is a search engine called.. umm, "Google"> smh.
https://www.htaccessredirect.net/ (https://www.htaccessredirect.net/)
pretty easy to search for..
a 'useless' question, when all you needed to do was "google" it..
Cheers.
X
-
Google isnt the answer.
This is CWP and what applies to centos distros doesnt necessarily apply to CWP. If we did what normal centos LAMP users did then CWP would crash and be totally useless. So when someone asks a question, keep in mind that what they are really asking is will this work with my CWP app.
-
Google isnt the answer.
This is CWP and what applies to centos distros doesnt necessarily apply to CWP. If we did what normal centos LAMP users did then CWP would crash and be totally useless. So when someone asks a question, keep in mind that what they are really asking is will this work with my CWP app.
You are mistaken, sorry.
CWP used Apache and nginx and you can use any options they have. Some cases cannot be fixed "by photo" we are not guessers ;)
"To Google" is the answer if the question "how to do the best right now with the one CWP button".
And course, I said use support if I think the case should be checked with the root access.
-
i have test this in apache .htaccess
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^http://example.com.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.example.com.*$ [NC]
RewriteRule .*\.(gif|jpg|jpeg|bmp)$ http://www.example.com/stophotlinking.jpg [R,NC]
and it dont work
i have test this in nginx /etc/nginx/conf.d/vhosts/www.example.com.conf
location ~ \.(jpe?g|png|gif)$ {
valid_referers none blocked example.com *.example.com;
if ($invalid_referer) {
return 403;
}
}
and it dont work
Can some one test this also so its just not me that it fails for
-
My site crashed got no access just a blank screen on cwp7
-
My site crashed got no access just a blank screen on cwp7
Oh it just come back dont know how or what.
-
Now i have just test webserver settings just apache and then htaccess work for hotlink but when i run Nginx & Varnish & Apache so do nothing work
The team would embed hotlink protection to cwp that had been great
-
must say this forum must have the best support ever....seems like a graveyard here
-
I also tried to get this to work with nginx.
I added it into the config but it still doesn't block hotlinking.
How to get this to work on CWP using apache nginx and varnish?
thanks