Lighttpd Hosting Videos :: Cannot Display Page

Aug 31, 2008

we have a site, x.com and it hosts videos, we want to serve these videos using lighty, however, we can't seem to get it to work at all, The current setup is Cpanel with Apache so we want Cpanel + Lighty(only for flvideo.x.com) and Apache for everything else, im running lighty on port 8080, we've tried different ports for the sake of trial and error.

This is the configuration that we have:

# lighttpd configuration file
#
# use it as a base for lighttpd 1.0.0 and above
#
# $Id: lighttpd.conf,v 1.7 2004/11/03 22:26:05 weigon Exp $

############ Options you really have to take care of
####################

## modules to load
# at least mod_access and mod_accesslog should be loaded
# all other module should only be loaded if really neccesary
# - saves some time
# - saves memory
server.modules = (
# "mod_rewrite",
# "mod_redirect",
# "mod_alias",
"mod_access",
# "mod_cml",
# "mod_trigger_b4_dl",
# "mod_auth",
# "mod_status",
# "mod_setenv",
# "mod_fastcgi",
# "mod_proxy",
# "mod_simple_vhost",
# "mod_evhost",
"mod_userdir",
# "mod_cgi",
# "mod_compress",
# "mod_ssi",
# "mod_usertrack",
# "mod_expire",
# "mod_secdownload",
# "mod_rrdtool",
"mod_accesslog" )

## a static document-root, for virtual-hosting take look at the
## server.virtual-* options
server.document-root = "/home2/x/www/flvideo/"

## where to send error-messages to
server.errorlog = "/var/log/lighttpd/error.log"

# files to check for if .../ is requested
index-file.names = ( "index.php", "index.html",
"index.htm", "default.htm" )

## set the event-handler (read the performance section in the manual)
# server.event-handler = "freebsd-kqueue" # needed on OS X

# mimetype mapping
mimetype.assign = (
".rpm" => "application/x-rpm",
".pdf" => "application/pdf",
".sig" => "application/pgp-signature",
".spl" => "application/futuresplash",
".class" => "application/octet-stream",
".ps" => "application/postscript",
".torrent" => "application/x-bittorrent",
".dvi" => "application/x-dvi",
".gz" => "application/x-gzip",
".pac" => "application/x-ns-proxy-autoconfig",
".swf" => "application/x-shockwave-flash",
".tar.gz" => "application/x-tgz",
".tgz" => "application/x-tgz",
".tar" => "application/x-tar",
".zip" => "application/zip",
".mp3" => "audio/mpeg",
".m3u" => "audio/x-mpegurl",
".wma" => "audio/x-ms-wma",
".wax" => "audio/x-ms-wax",
".ogg" => "application/ogg",
".wav" => "audio/x-wav",
".gif" => "image/gif",
".jar" => "application/x-java-archive",
".jpg" => "image/jpeg",
".jpeg" => "image/jpeg",
".png" => "image/png",
".xbm" => "image/x-xbitmap",
".xpm" => "image/x-xpixmap",
".xwd" => "image/x-xwindowdump",
".css" => "text/css",
".html" => "text/html",
".htm" => "text/html",
".js" => "text/javascript",
".asc" => "text/plain",
".c" => "text/plain",
".cpp" => "text/plain",
".log" => "text/plain",
".conf" => "text/plain",
".text" => "text/plain",
".txt" => "text/plain",
".dtd" => "text/xml",
".xml" => "text/xml",
".mpeg" => "video/mpeg",
".mpg" => "video/mpeg",
".mov" => "video/quicktime",
".qt" => "video/quicktime",
".avi" => "video/x-msvideo",
".asf" => "video/x-ms-asf",
".asx" => "video/x-ms-asf",
".wmv" => "video/x-ms-wmv",
".bz2" => "application/x-bzip",
".tbz" => "application/x-bzip-compressed-tar",
".tar.bz2" => "application/x-bzip-compressed-tar",
# default mime type
"" => "application/octet-stream",
)

# Use the "Content-Type" extended attribute to obtain mime type if
possible
mimetype.use-xattr = "enable"


## send a different Server: header
## be nice and keep it at lighttpd
server.tag = "lighttpd"

#### accesslog module
accesslog.filename = "/var/log/lighttpd/access.log"

## deny access the file-extensions
#
# ~ is for backupfiles from vi, emacs, joe, ...
# .inc is often used for code includes which should in general not be
part
#### accesslog module
accesslog.filename = "/var/log/lighttpd/access.log"

## deny access the file-extensions
#
# ~ is for backupfiles from vi, emacs, joe, ...
# .inc is often used for code includes which should in general not be
part
# of the document-root
url.access-deny = ( "~", ".inc" )

$HTTP["url"] =~ ".pdf$" {
server.range-requests = "disable"
}

##
# which extensions should not be handle via static-file transfer
#
# .php, .pl, .fcgi are most often handled by mod_fastcgi or mod_cgi
static-file.exclude-extensions = ( ".php", ".pl", ".fcgi" )

######### Options that are good to be but not neccesary to be changed
#######

## bind to port (default: 80)
server.port = 8080

## bind to localhost (default: all interfaces)
server.bind = "flvideo.x.com"

This is the weird part, if we lynx x.com:8080 it will display the html file inside the docroot, if i go x.com:8080 on firefox or internet explorer the connection gets reset and internet explorer throws a "cannot display page" error,

View 1 Replies


ADVERTISEMENT

.JSP Page Will Not Display On GoDaddy Linux Hosting

Jan 12, 2009

I can not get a .JSP page to display on a deluxe hosted GoDaddy account. I have tried the most basic page. Just to make sure I do not have a type-o, I even used an HTML page to direct me.

Here is the HTML page that has the hyperlink. This page displays fine.

Code:
<html>
<head>
<title>Test</title>
</head>

<body>

Here is a test page

<a href="test.jsp">Test JSP</a>

</body>
</html>
Here is the JSP page that can not be displayed.

Code:
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
[url]

<html>
<head>
<title>Test</title>
</head>

<body>

Here is a test JSP page

</body>
</html>

When I click on the link, I get the HTTP 400 error saying the webpage could not be found. I know the code works since I have tested it locally. Plus the code is very simple.

I am very stumped here and have tried GoDaddy’s help multiple times. They keep telling me it is a scripting issue. I am not sure how it can be a scripting issue because there is no script here. Basically, it is an HTML page with a .JSP extension.

View 11 Replies View Related

Main Site Page Display

Oct 6, 2009

About the 28th September the host that I was with decided to move servers and did not inform me of this. They tried moving my site and after 18 hours of being offline decided not move my site. It came back offline, only the main page displayed but nothing else works, if you click on anything it goes to 404 page error. Only problem is, the page is displaying data up to 23rd September.

I have a blog and a forum connected and both seem to have lost all the data from the 23rd to 28th September. I have since moved host since the previous host not only did not inform me that they were moving, they didnt even bother taking a backup. I have been with my new host for over a week now so the propogation is definitely complete. Now the problem is whenever I open my blog, it keeps pointing to 23rd September (I have added a lot of posts since then). If I refresh the page, then it will show the latest posts. This is not a problem with the forum though, it works fine.

View 14 Replies View Related

Setting Up APF To Display A Error Page For Banned IPs

Sep 30, 2007

when you add a banned ip to APF it doesnt show anything when the user visits the site, just a blank page. is there anyway to set up a page such as "You IP Address has been banned,

View 4 Replies View Related

Hosting For Videos And Mp3

Jan 8, 2009

I'm making a website with image galleries, music videos and mp3. There will be about 20-30 music videos and mp3 files for playing online from server. So, I guess I should look for hosting companies offering large monthly bandwidth.

View 14 Replies View Related

Offshore Hosting For Videos

Dec 2, 2008

I have a website that embeds anime videos hosted on websites like youtube/veoh/megavideo.

Is there a country/place a can host this type of site where it is legal to do this kind of embedding/linking. (none of the videos are hosted on website)

View 6 Replies View Related

Selecting A Hosting Company For Videos

Jan 11, 2008

I own a small company specializing in the production of science education videos we sell to public schools. We would like to begin to deliver our videos to schools over the Internet. Our collection includes about two thousand video clips with accompanying metadata. We hope to gradually build a customer base of several hundred schools by June 2009. I need advice on how to find a good company that offers the colocation server option, and I need to know what kinds of questions to ask when shopping for a company.

View 2 Replies View Related

Shared Hosting To Store Videos + Vps For Main Site

Jun 28, 2008

I am paying around 15 bucks for 1.0TB bandwith in a shared hosting.

i thought of getting a vps for the site, and just stream videos from the shared hosting server....

the problem would be users uploading videos, is it possible for them to upload files through VPS, and onto the shared host ?

View 5 Replies View Related

Lighttpd File Hosting Server

Apr 25, 2008

Any one manage file hosting servers here?

I run file sharing service, bandwidth usage is going up too much, 300 Mbps, anyone know if file hosting sites use bandwidth shaping ? Any recommended settings for lighttpd?

View 1 Replies View Related

Page 2 - Green Hosting

Jun 21, 2007

It's really great that more and more webhosting companies support this cause, I have even come across the list of hosting companies.

View 0 Replies View Related

Limit 1 Web Page Per Hosting Account

Apr 8, 2008

Is it possible, under Linux or Windows, to limit a webhosting account to only 1 webpage (.htm,.cfm,.html,.etc..)?

View 1 Replies View Related

Plesk 12.x / Linux :: Hosting Services - Domain Page Error

Jul 2, 2014

If I go to Hosting Services - Domains and try to switch page, i get this error:

plesk TypeError: item.owner Name is null undefined

And beyond that point, no domains are displayed in Domains...

View 3 Replies View Related

Apache :: Redirect Some HTM Page To WordPress Page Without Path And Query String

Jan 5, 2015

I want to permanent redirect some .html page from subdomain to main domain WordPress page,Redirect permanent /cat/FSBO76.URL....

View 1 Replies View Related

Plesk 12.x / Windows :: Subdomain (Page Not Found / Page Doesn't Exist)

Jun 21, 2014

I have a problem with my server. I am trying to make a subdomain, and it isn't working. I create it like how in all tutorials says here( click here ) . I completed all fields, but when i try to open the subdomain in a browser page, it's telling me, page not found / page doesn't exist. I have a dedicated server on window server 2008 for my website with a dedicated IP.

View 5 Replies View Related

Streaming Videos

Aug 29, 2008

I have a VPS server and was trying to figure out the best way to stream videos...its running CentOS 5, any recommendations?

Will VLC work?

View 9 Replies View Related

Where You Host Your Videos

Feb 26, 2009

where you host your large videos google, blip.tv, ... etc ?

I personally like blip.tv, just because it is simple and there is not time limit (but within 1GB size).

View 13 Replies View Related

Streaming FLV Videos

May 30, 2009

I have a website that users can download software (~150 MB).

I currently have a VPS server with Liquidweb.
20 GB RAID protected storage, 384MB dedicated RAM (maximum that can be achieved is 528MB on this package), 200GB Monthly Bandwidth Transfer. I don't use much of the 20GB disk space, but every month I use about 60 GB Bandwidth.

Now I plan on incorporating video files into one of my software packages. Because there will be about 1000 video files (each being about 3-4 MB), that would take up 3-4 GB drive storage; hence, I don't think it's feasible that the users can download the software package. Instead, I can keep the software package size to a minimum and the solution would be to STREAM the videos from within the program.

At this point, I can do one of two things:

1) Keep my VPN for my website and find a hosting provider that has STREAMING services for the videos

2) Upgrade my VPN to a Dedicated Server (Pentium 4 3GHZ Hyperthreaded, 2GB DDR SDRAM, 120GB 7200RPM SATA/8MB Cache, 2000GB Monthly Bandwidth) and have my website and streaming videos on one server.

Also, if I choose option #2, would you recommend upgrading to Dual 120GB SATA / Hardware Raid 1 [add $40/month] or 73GB 10,000RPM SCSI / 8MB Cache [add $60/month]

Again, I just need a server that will play the videos. I will have users that will be simultaneously connecting to the server to watch the videos from within the program so I would like the most stable and seamless choice.

View 14 Replies View Related

Embedded Videos

Dec 21, 2008

I am no computer genius, but I am trying to learn.

I have a question concerning embedded videos.

When you embed a YouTube video into a web page, does that not use bandwidth of the host of your website?

Again, please forgive my ignorance, I'm trying to learn. From what I've seen on WHT so far, I should be up to speed before too long.

View 5 Replies View Related

A Server With 100+ HD Videos

Mar 22, 2008

a new dedicated server for a new site we will be launching very soon. We have been weighing our options as far as server configurations and because it is a startup our budget is limited.

But the one thing I wanted to ask about is our primary hard drives. We were going to go with 2x250GB RAID1 SATAII's for their price and reliability. Our total server budget is around $400/mo... so money is tight.

But this site will have about 100-150 High Definition Videos in a certain section (averaging about 200mb each) that are viewed in progressive-download. The daily traffic is about 8,000 uniques and we can't really be sure how many people a day will watch a video, or how many videos they will watch.

With that being said... do you think RAID 1 SATA's are fine? We don't want any problems with people having slow download speeds, since fast transfer speeds are important to us. Or would the SATA's be a problem for sure and you'd recommend faster SCSI drives or RAID 5/10/etc.?? We are not even sure if we can afford faster drives... but if you guys thought SATA's would be a problem.. we'd go back and sharpen our pencils some more.

View 0 Replies View Related

Converting Videos

Nov 29, 2007

I got ffmpeg, mencoder and flvtool2 installed on my server (centos 4) but when I try use them, the size comes off substantially bigger then what I can do on my PC.

For example I've been using Sorenson Squeeze (using Sorenson codec) and say at 240brate(video) and 32 (audio) and at 320-240, it comes to about 100 megs for a 50 min video.

Is there some good strategy on using these free tools effectively? or do the free codecs just can't compare to the paid ones?

What would be the commands that you guys would run to get the best size for those specified options I mentioned? On mencoder and flvtool2 that is. I have the latest versions installed.

View 7 Replies View Related

Server For 4000 Videos 10 Mb Each

Aug 27, 2007

I have a requirement for a server with a need to store 4000 entries each having a 10 mb video clip. No indication of popularity of site as this is a startup. Thats my headache part, normally for such a server would it be advisable using SCSI / SAS and expecting a huge bandwidth requirements? Or should it be done implemented as a cluster?

View 2 Replies View Related

Refferer's Landing Page And Source Page

Apr 15, 2007

Right now my stats system only shows from what website traffic is coming. I have google analytics aswell, and with all its functions, it does not tell me from exactly what webpage traffic is coming, and to what webpage the traffic is coming to.

So, let say someone is sending me traffic from www.reffererxxx.com/cool_video.html to www.mysite.com/super_cool_video.html

My statistics would only show that www.reffererxxx.com is sending traffic to www.mysite.com

Is there a way(a script/service/program) to find out exactly from what webpage the traffic is coming, and to what webpage of mine the traffic is going to?
(I do not have server logs / webalizer / awstats as my server cannot handle the log processing due to high server loads)

View 0 Replies View Related

Hacked - Can Mysql And Videos Be Saved From This?

Oct 13, 2007

My server was hacked, they destroyed some of it, but alot was intact. My provider swiftly changed the original HD, put in a new one and have attached the old one to allow data transfer. I cannot see the Mysql section and about 900 videos from a particular folder are missing.

Is there ANY way I can recover anything in this situation?

View 14 Replies View Related

Dedicated Server For Adult Videos

May 15, 2009

for hosting our adult video projects looking for a suitable dedicated server. Data we have primarily located elsewhere, therefore, regards the site that will serve as a cache.
Then just one HDD and 2 gigabytes of RAM, and virtually any processor, what is most important for us is the connectivity and traffic.

Therefore looking for dedicated server (unmanaged) with the lowest possible price for the most transmission. any specific recommendations?

View 9 Replies View Related

Videos Not Showing With Mencoder & ClipShare

Jun 13, 2009

I have problem with clipshare script. when i upload videos, they are successfully uploaded into video dir and thumbnails are also generated.

But when playing them, it constantly say loading....

I checked the flvideo dir, and it converted video(flv) is not there.

I searched a little and found a small changed needs to be done in convert.php. which i did but still it does not convert.

I wanted to know

* Where can i find conversion logs or more information on what exactly is going on, to further debug the issue.

* In convert.php i have replaced -lavfopts

i_certify_that_my_video_stream_does_not_use_b_frames -vop

WITH

-ofps 12 -vf
but still not fixed. should i roll back to previous state?

From siteadmin panel

system check

Code:
FLVIDEO Directory
writable (0777) (/home/hell2006/public_html/flvideo)

VIDEO Directory
writable (0777) (/home/hell2006/public_html/video)
THUMBS Directory
writable (0777) (/home/hell2006/public_html/thumb)
CHANNEL Directory
writable (0777) (/home/hell2006/public_html/chimg)
PHOTO Directory
writable (0777) (/home/hell2006/public_html/photo)
TMP Directory
writable (0777) (/home/hell2006/public_html/tmp)

Safe Mode

Open Basedir .....

View 6 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

Videos Require Site Space

Oct 2, 2009

But would one of those embedded Youtube-videos take up space (or bandwidth), if I had one on my site?

I don't know what they are called (that is why I called them Youtube-videos), but I mean videos that you can view on sites other than Youtube, but still have the Youtube-interface and can also be found on Youtube.

View 7 Replies View Related

Bulk Renaming Videos Already On Server

Apr 14, 2008

I uploaded over 100 videos only to realise the way they are named is stopping FFMPEG from converting them. Is there any way to bulk change the names?

View 5 Replies View Related

Ssh Display

Jul 30, 2007

I tried to display all email trail. (last 3000 email log)

I used ssh secure shell, and putty.

However, both softwares don't display all the list. (only 200?)

I can see in the beginning, but it just scan those then no display.

Should I change setting?

How many rows to display?

I don't see those option

View 4 Replies View Related







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