.htaccess & Java Applet Trouble Displaying Images

May 22, 2007

I have a java applet that displays (local)images. I also have anti leach code in .htaccess that is adde via cpanel:

.htaccess contents:

Code:
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^http://owndomain.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://owndomain.com$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.owndomain/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.owndomain.com$
RewriteRule .*.(jpg|jpeg|gif|png|bmp)$ - [F,NC]

Symptems:
1- Java Applet loads && runs ok but doesn't display images.
2- When .htaccess file is removed, images display ok.

View 4 Replies


ADVERTISEMENT

Images Not Displaying On Cpanel Server

Nov 11, 2008

I am hosting my site on cpanel server, but there is a little problem, my images in the application are not getting displayed, whereas they are displaying alright on my local server, i've tried different methods to ressolve this issue, but, i wonder is it something to do with the server.

View 6 Replies View Related

Suhosin- Ipb , Vbulliten ,phpbb3 With The Images On The Forum Are Not Displaying Properly..

Oct 8, 2009

i have Suhosin installed on my server now some of my sites are facing problem i.e forums like ipb , vbulliten ,phpbb3 with the images on the forum are not displaying properly..

So is this problem related to the values of these two fields present in Suhosin

suhosin.post.max_value_length =

suhosin.request.max_value_length =

is Suhosin good for shared servers?

View 12 Replies View Related

Apache :: Deny Direct Access To Images From Other Websites In HTAccess

Jan 28, 2013

I have recently had number of websites that link directly to images from my website. This is not hotlinking, it is direct server request. As an example: on the linking website there is image gallery script with thumbnails and when the visitor clicks on the thumb it calls the image from my website.

I block their IP-s in .htaccess, but it is not the best way to stop them since IP change. Is there any way, similar to anti-hotlinking, to deny such direct access to my images by domain name i.e. to allow only from my website and deny from all others. Or something else that could work in my case with .htaccess.

View 8 Replies View Related

Apache :: HTAccess And Rewrite Rule - Show Existing Images

Mar 8, 2015

I'm using .htaccess to show existing images instead of images which does not exist.

RewriteBase /images/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)_(.*)1200x900.jpg$ esittely_$21200x900.jpg
RewriteRule liiga1200x10.jpg esittely1200x10.jpg
RewriteRule liiga670x10.jpg esittely670x10.jpg [L]

Everyting works fine if an image does not exist.

But if an image does exist, the second RewriteRule
RewriteRule liiga1200x10.jpg esittely1200x10.jpg
will be used.

Why is that so? How could I modify my code to prevent that? 

View 2 Replies View Related

Is Our Host Having Tech Trouble--or Money Trouble

Feb 14, 2007

if our host is experiencing technical problems, or if they're in financial collapse.
Since 5 PM Sat., many sites hosted by powerfulhosting.com of Santa Monica have gone dead, mostly on NS01.POWERFULHOSTING.COM and some on NS1.IOCUS.COM They include:

chandarawestla.com
peggypotter.com
countrysidepet.com
robertpaulgalleries.com
cameraleather.com
goeastern.com
roastyourown.com

and many more. Over the weekend, tech help claimed the problems were assocaited with an "upgrade" to a new server. As the site owners started talking to each other, and the outage grew into the work week, Powerful Hosting stopped responding to inquiries, even from longtime clients. Their phone mailboxes are full and silent.

Now, I'm not an administrator or even a very quick FTPer, but these stores have burned to the ground and there are are livelihoods on the line. Can anyone in this community find any evidence suggesting a geniune technical glitch on their servers? A couple of people in our group think maybe they can't pay a server bill, in which case we all need to bail out immediately.

View 5 Replies View Related

Having Trouble With PHP

Feb 14, 2007

So I finally decided to upgrade apache from 1.3 to 2.2 and thought I'd upgrade php while I'm doing it. Everything isntalls ok and the php installer says it has configured apache etc but I just can't get it to parse php. It just loads a blank page!

I've tried adding handlers, types everything etc

The php 5.2.1 (latest)

View 4 Replies View Related

FTP Connection Trouble

Mar 2, 2007

I have a client trying to log in via ftp. They cannot log in and get this error.

[14:36:05] Resolving host name "www.domain.com"
[14:36:05] Connecting to "IP ex 1.1.1.1" Port: 21
[14:36:06] No connection could be made because the target machine actively refused it.
[14:36:06] Cannot login waiting to retry (30s)...
[14:36:06] Client closed the connection.

I restarted FTP and checked to see if apf was blocking them and neither worked. She is using smartftp and I also had her try filezilla and neither worked.

However I am able to log in fine from my pc using this login info.

View 1 Replies View Related

Having Trouble With Grep

Feb 6, 2007

Having some trouble using grep and hoped someone might be able to help.

Running the following command to try and scan for an IP address match across a period of time in our access_logs:

grep '04/Feb/2007:21:*:*' /var/www/vhosts/*/statistics/logs/access_log.processed | grep
'216.2*.*.*'

This is returning all kinds of IP address results such as: 58.216.50.2 Can you suggest how I can tweak the grep command to search for the right IP addresses?

I want to scan precisely for IP addresses starting 216.2*.

We've been given the following information about spam, and want to track the source of it
down:

216.2x.x.x - email spam

So any ideas how I can scan these logfiles more precisely for the IP address I need?

View 7 Replies View Related

Ffmpeg Does It Worth The Trouble ?

Jul 12, 2007

I was wondering, if installing ffmpeg-php is worth the trouble for shared hosting accounts or if it is too much of a resource hog. I had a couple of requests for that but I am not used to this extension.

Thank you for giving me your feedbacks on this.

View 5 Replies View Related

Trouble Setting Up Wildcard DNS

Jun 16, 2005

I have a virtual dedicated server (Red Hat) at GoDaddy and I'm trying to set up wildcard DNS. In short, I want:

anything.mydomain.com/thepage.html

to resolve to:

mydomain.com/thepage.html

I've taken the following steps: ......

View 1 Replies View Related

Trouble Moving A Site

Oct 19, 2009

We are in the process of changing web hosting companies and I am having difficulty in moving all the directories. We are a membership based company with over 8,900 members. The original web site (called Site a) has over 26,700 individual directories along with many tutorials in video format. The entire site is approximately 80 GB in size.

When I had the second web hosting company try to move the site via tar they indicated that the tar would abort at about 4 GB every time.

Is there any other way to move this site or get a complete backup of the site. I have no problem moving the MySQL databases.

View 3 Replies View Related

Xcache Trouble On Centos 4.5

Apr 8, 2009

I managed to install xcache on my Centos 4.5 server.

Xcache is shown in my phpinfo, but I think there's problem since php -v gives me following error, I don't have a clue how to fix this. See attached images.
I tried several different configurations in xcache.ini, but all with this same result.

It seems that this error doens't occur always.

PHP Warning: Module 'XCache' already loaded in Unknown on line 0
/dev/zero: No space left on device
Failed creating file mappping
PHP Fatal error: Failed creating file mappping in Unknown on line 0
PHP Fatal error: XCache: Cannot create shm in Unknown on line 0
PHP 5.2.9 (cli) (built: Mar 10 2009 16:30:52)
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2009 Zend Technologies
with XCache v1.2.2, Copyright (c) 2005-2007, by mOo
Segmentation fault

View 9 Replies View Related

Cirtexhost Trouble...anyone Experience This

Jun 22, 2008

my site has received surge in traffic. basically doubled everday for a week.

although this is great. it appears its seriously loading the site slow and timing out now.

what to do ? i doubt submitting ticket will help.

i guess you get what you pay for ?

i think so far, cirtexhosting is not too shabby considering its price. 14 bucks for 1TB bandwith.

View 14 Replies View Related

Webdav Trouble With IIS6

Oct 29, 2008

I am having trouble setting up webdav on IIS6. I wasted all day on this today.

So far I have set it up to work over the internet with anonymous access.

Now I want to turn on:

1) basic authentication

2) SSL

I try to turn on (1) but:

- when try to access over the internet, it prompts for my login but it doesn't accept the login and keeps reprompting me.

- when I try to access from the local server, it seems to accept the login but gives an error 'the folder you entered does not appear to be valid, please choose another'

I have created a new user who has permission to access both the directory on the server and the virtual directory in IIS. I have turned on the webdav extension. I have tried reinstalling IIS too.

View 1 Replies View Related

DNS Trouble When Trying To Set Up Addons In CPanel Account

Jan 15, 2009

I'm trying another cpanel hosting service in addition to one with which I have a main domain and a bunch of addons. I'm used to being able to create the addon accounts regardless of whether I've already changed the ns for the domains being added yet. In the new service I'm trying, I am unable to to do that, but instead get an error message which appears online in various forum posts:

Quote:

Error from park wrapper: Using nameservers with the following IPs: exampleIP 1,example IP 2 Sorry, the domain is already pointed to an IP address that does not appear to use DNS servers associated with this server. Please transfer the domain to this servers nameservers or have your administrator add one of its nameservers to /etc/ips.remotedns and make the proper A entries on that remote nameserver.

With the hosting service where I can always create the accounts any time, I use a secure login that contains my account ip: [url] I will only do secure logins, and not any unsecure http logins. The other hosting service where I am unable to create the addons does not appear to have that available for my normal account url or ip, at least it doesn't work when I've tried, but after searching I found out that you can get a secure login in another way, so I am able to securely log into my account using [url] but this is not the same as my account's IP or the normal shorter url for my regular unsecure login. I would guess that's the significant difference which allows me to create accounts any time in the first account vs. not at all in the second - that I'm using my account's normal ip for the one, but the longer-than-normal secure urls for the other (?), although I don't fully know how that would work.

There is however, one significant difference in the second account which I do not have in the first, and that is that I have SSH access in the second account. So, I am wondering if there is a simple method for using that SSH access to change a setting in my second account in such a way that I can have the same freedom to create addons there first and then attend to ns changes and so forth later when I'm ready? Especially is there a way to do this only once for the whole account, instead of having to do it for each and every addon? Thanks in advance to those who might really know the score on all this stuff and exactly what the best solution or solutions are.

View 8 Replies View Related

Name Server Errors / Trouble Fixing

Jul 12, 2007

i am tring to setup my own nameservers for the past two days but couldn't get them to work.

i hve already created the ns at godaddy.com. and created dns zone file with corress ponding ips in my vps

iam getting the following error on the dns report. can anyone help me fix them......thanks aloot

Errror 1:
FAIL: Lame nameservers
ERROR: You have one or more lame nameservers. These are nameservers that do NOT answer authoritatively for your domain. This is bad; for example, these nameservers may never get updated. The following nameservers are lame:
xxx.xxx.xxx.xxx < -- my ips
xxx.xxx.xxx.xxx
xxx.xxx.xxx.xxx
xxx.xxx.xxx.xxx

Errror 2:
FAIL : Missing nameservers 2
ERROR: One or more of the nameservers listed at the parent servers are not listed as NS records at your nameservers. The problem NS records are:
ns3.mydomain.com.
ns4.mydomain.com.
ns5.mydomain.com.
ns6.mydomain.com.

Error 3:
FAIL : Single Point of Failure

ERROR: Although you have at least 2 NS records, they both point to the same server, resulting in a single point of failure. You are required to have at least 2 nameservers per section 2.2.

Error 4:
FAIL SOA Record
No valid SOA record came back:
is not mydomain.com.

View 4 Replies View Related

Displaying Non English Filenames

May 3, 2007

basically it has to do with supporting filenames(or urls) in non English (Arabic) encoding in apache webserver....

I'm assuming that its apache that needs to be configured for this, i can't think of anything else except encoding support on the o/s too.....

funny thing is, i can upload and download non Arabic file names through ftp, and ftp displays them correctly, but they can't be accessed through a webbrowser.....

hmmmm, actually firefox can access them, it screws up the file name into funny signs but actually displays the file, I.E can't access them at all....

So, how can I enable Arabic language support on my webserver?

View 0 Replies View Related

301 Redirect Without Displaying Different Domain

Mar 10, 2007

to do a 301 redirect from domainA to domainB but continue displaying DomainA's url when someone goes through.

Right now I'm doing:

redirectMatch 301 ^(.*)$ [url]
redirectMatch permanent ^(.*)$ [url]

How do I accomplish this?

View 4 Replies View Related

500 Error For Compiled Lisp Program And No Trouble For The Equivalent C App

May 9, 2009

I'm trying to setup the Clozure Common Lisp implementation for CGI web programming. I've made a hello application and compiled it.

I can type ./index.cgi at the terminal and the properly formatted header and some text are displayed.

When I try to view the index page though the web browser I get an internal server error.

Quote:

Couldn't load lisp heap image from
[Sun May 10 09:31:25 2009] [error] [client 127.0.0.1] Premature end of script headers: index.cgi

I'm wondering if this is a Lisp problem or a problem with the web server/permissions.

I wrote a hello world CGI app in C and ran that through the browser without any problems.

I applied the same permissions from the C app to the Lisp app and still had the same problem.

I *think* this is a Lisp problem, but just felt that I should check with some people who are more familiar with server setups than myself.

View 1 Replies View Related

Displaying Google Ads Can Destroy Your Website

Apr 6, 2008

It's very dangerous to display Google ads on your website! ("adsense"). If they decide they don't like your website, for any reasons, for example political reasons (they told it to me), then instead of displaying their regular ads, and even instead of displaying a blank space instead - they display a frame with big "Action canceled" at the top of your website and your customers might think you went out of business or something like that (they are not displaying any relation to Google). They did it to my and my website, www.speedywhois.com (currently .net), look for yourself, read this post and especially the images attached (MSIE and MZFF) and especially if you're politically active as I am and support human rights and especially in China or Israel or criticize Google or the United States of America then you can find "Action canceled" frames on the top of your website too.

http://www.speedy.net/uri/blog/?p=84

I currently don't have a computer and I'm using public computers to connect to the internet (it costs) and when I noticed this "Action canceled" on the top of my website it was shabbat (weekend) but since this is a top security issue and I didn't want my customers to think I went bankrupt and stop using Speedy Whois, I removed google ads and put a warning to other webmasters too.

By the way I also asked them why they stopped displaying my ads for Speedy Whois on their websites ("adwords"), I wrote them in english and my website is english and my language preferences are english but instead they wrote me something in hebrew about them hating me and my website which I didn't even bother to read. I asked them to reply in english and they refused so I'm not advertising with them either. Godaddy is also not displaying whois data to my customers so they are together (Google & Godaddy) doing their best to cause my customers to stop using my website.

Google also caused me problems with sending mail from my gmail and they are censoring me big time because of my political views. I'm against wars and I wrote some things against war crimes on my website and it made them very angry about me.

View 4 Replies View Related

Delay In Displaying Published Files

Sep 24, 2008

I host my site on webcity and have done for 6-7months. Most of the time, I publish my web and the changes appear virtually immediately.

Some weeks ago, the lag between publishing and appearing began to take hours. I advised webcity support and the next day back to normal.

Yesterday, it started again. I emailed webcity and their reposnse was - it's your cache. I rang webcity and again was advised - it's your cache (or something your ISP is doing).

I don't believe it is cache. I can refresh the page, close the browser, reboot the computer, clear all temp files (run CC Cleaner) - no difference.

View 8 Replies View Related

My PHP Pages Prompted To Download, Intead Of Displaying

Mar 16, 2008

why starting from last 2 days everytime I visit my page on my Cpanel Server, it will prompted to download the file instead of displaying it.

My Cpanel info:
Operating system Linux
PHP version 5.2.5
cPanel Version 11.18.3-STABLE 21703

View 9 Replies View Related

Displaying Server Load Average Through HTTP

Nov 26, 2008

to display the server load average through HTTP. How may I do that?

Please note that I have all insecure functions disabled, such as exec, system, etc... But I have root access.

View 11 Replies View Related

Emails Not Displaying Mail Scanner Headers

Sep 14, 2008

i installed the latest version of the mail scanner on my linux server. It has been tested to be scanning and running properly. But one thing that is unusual is that the emails that is being processed by the mailscanner does not get tagged as its being processed by it. Hence i do not really know whether it has been processed.

When i check the email full headers, i am missing information like spam score, spam information and spam status. I did a check in the mailscanner.conf and the configuration was done correctly.

how can we set these information to show on the email header that it has been processed.

View 2 Replies View Related

Apache :: Reverse Proxy - Multimedia File Not Displaying?

May 6, 2014

I am trying to do reverse proxy for several web servers in my network.I have successfully configure the reverse proxy.However , when website with multimedia webpages are requested , the multimedia content is not displaying. What is is that I am missing in my config file.

<VirtualHost *:80>
ServerAdmin webmaster@dummy-host.example.com
#DocumentRoot /www/docs/dummy-host.example.com
ServerName dummy-host.example.com

[Code].....

View 15 Replies View Related

Plesk 11.x / Windows :: Web Page Displaying Related Links

Oct 1, 2014

I was asked by a user why he only saw a page with 'related links' when he went to the web site. I checked and saw the same thing if I typed www.domain.tld. If I just typed domain.tld, the page displayed fine. In trying different things tonite, I cleared my cache and now neither url works.

I am using Parallels Plesk Panel 11.5.3. If I click the 'Preview' button on the panel, everything looks great. If I click the 'Open' button, I get the 'related links' page.Today, the shcnf.com link seems to be working fine and the 'Open' button in Parallels Plesk Panel works, but the www.shcnf.com link is still showing a 'related links' page.

My DNS settings show:

shcnf.com record type: A value: 198.144.188.31
www.shcnf.com record type: CNAME value: shcnf.com

I do not currently have a preferred domain set in my hosting settings. I tried setting one the other night with no luck, though I was also playing with the DNS settings (I tried setting www.shcnf.com to an A value with the IP, hoping to force it to work).

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved