LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
Search this Thread
Old 06-17-2004, 09:24 PM   #1
Mandangelo
LQ Newbie
 
Registered: Aug 2003
Posts: 11

Rep: Reputation: 0
apache just won't serve flash.. help !


I've searched and searched for the right info to no avail ...help !

Im in dire need of some help. I've been trying to figure out why i'm unable to serve up my Flash for about 3 days now, i'm starting to lose it !

RH 9 w/Apache on an internal LAN.

Set the Mime type. Combed thru httpd.conf for errors, checked permissions, installed the flash_installer plugin just in case,

When i hit the www box @ 192.168.0.127 i reach the index.html page that i created but once i try to get 192.168.0.127/flashname.html it begins to almost load with a black back ground and nothng more. If i right click on the screen i see the "about macromedia flash player 7" menu, but it never loads.


please help ! yeah i'm desperate. lol..sob..sob..sob

thanks for any assistance
 
Old 06-18-2004, 07:06 AM   #2
Kroppus
Member
 
Registered: Aug 2003
Location: Norway
Distribution: Debian UNSTABLE + latest 2.6.kernel
Posts: 391

Rep: Reputation: 30
It's not a problem with apache.... Apache serves the files you give it with no problem...
My server was set up as a mirror for the pages for the norwegian band Satyricon for a while last summer, And those pages are FLASH oly.
The prblem is that your browser don't have the right plugin.
I'm not sure if Shockwave works on linux yet but FLASH does work.
You have to download and install the plugin..
Then you should be able to see the "offendign" pages..

Anyway all pages made with flash/shockwave shold have a non-flash/shockwave version.
What's the use of making a page that tries to dictate what os you should be running?
 
Old 06-18-2004, 10:27 PM   #3
Mandangelo
LQ Newbie
 
Registered: Aug 2003
Posts: 11

Original Poster
Rep: Reputation: 0
o yeah it's working.. this was all i needed to do after mime.types and the rest of the non-sense i tried over the past three days !

just loaded to a floppy from a win 2k box to the red hat box, and pow good to go..wierd.

ot@localhost floppy]# ls
[root@localhost floppy]# mount /dev/fd0 /mnt/floppy
mount: /dev/fd0 already mounted or /mnt/floppy busy
mount: according to mtab, /dev/fd0 is already mounted on /mnt/floppy
[root@localhost floppy]# cd /mnt/floppy/
[root@localhost floppy]# ls
first.html first.swf
[root@localhost html]# rm index.html
rm: remove regular file `index.html'? yes
[root@localhost html]# ls
first.html first.swf index.dist
[root@localhost html]# rm index.dist
rm: remove regular file `index.dist'? yes
[root@localhost html]# ls
first.html first.swf
[root@localhost html]# ls -al
total 48
drwxrwxrwx 2 root root 4096 Jan 1 04:39 .
drwxrwxrwx 3 root root 4096 Jan 1 02:28 ..
-rwxrwxrwx 1 ftp ftp 1037 Jan 1 1998 first.html <---see the ftp
-rwxrwxrwx 1 ftp ftp 33104 Jan 1 1998 first.swf <--- see the ftp
[root@localhost html]# rm first.html
rm: remove regular file `first.html'? yes
[root@localhost html]# rm first.swf
rm: remove regular file `first.swf'? yes
[root@localhost html]# ls
[root@localhost html]# cd /mnt/floppy/
[root@localhost floppy]# ls
first.html first.swf
[root@localhost floppy]# cp first.html /var/www/html index.html
cp: copying multiple files, but last argument `index.html' is not a directory
Try `cp --help' for more information.
[root@localhost floppy]# cp first.html /var/www/heml
[root@localhost floppy]# cp first.html /var/www/html
[root@localhost floppy]# ls
first.html first.swf
[root@localhost floppy]# cp first.swf /var/www/html
[root@localhost floppy]# ls
first.html first.swf
ping httpd: [FAILED]
Starting httpd: [ OK ]
[root@localhost html]#
[root@localhost html]# ls -al
total 48
drwxrwxrwx 2 root root 4096 Jan 1 04:43 .
drwxrwxrwx 3 root root 4096 Jan 1 04:42 ..
-rwxrwxrwx 1 root root 1055 Jan 1 04:43 first.html <--- loaded from floppy
-rwxrwxrwx 1 root root 33232 Jan 1 04:43 first.swf
[root@localhost html]#
[
 
Old 06-19-2004, 11:52 AM   #4
Kroppus
Member
 
Registered: Aug 2003
Location: Norway
Distribution: Debian UNSTABLE + latest 2.6.kernel
Posts: 391

Rep: Reputation: 30
I still don't know exactly what you're problem is/was.

I'm totally blank over what you tried to do there too....
All i can see is that you copied the index.html and some swf files from a floppy.
That has nothing to do with your question about apache.
If the problem was that you've screwed up the webpages or their locationsomehow, that's another thing. Still got nothing to do with apache and flashfiles.
What i'm guessing is that you wrote the html and somehow missed on the links or something.
remember that there's a GREAT difference how windows and Linux reacts to big and small letters for instance + remember the differene between / and \ to

Anyway, good that you got it working..
 
Old 06-20-2004, 09:51 PM   #5
Mandangelo
LQ Newbie
 
Registered: Aug 2003
Posts: 11

Original Poster
Rep: Reputation: 0
the info i threw down was rather scrappy, yeah i know.

i was ftping data from my win2k machine to the linux box, and moving the data to the /document root. I saw no problem with this..but,

if i ran a ls -al , i would see some form of ftp attribute, not real familiar with this though.

[root@localhost html]# ls -al
total 48
drwxrwxrwx 2 root root 4096 Jan 1 04:39 .
drwxrwxrwx 3 root root 4096 Jan 1 02:28 ..
-rwxrwxrwx 1 ftp ftp 1037 Jan 1 1998 first.html <---see the ftp
-rwxrwxrwx 1 ftp ftp 33104 Jan 1 1998 first.swf <--- see the ftp

if i uploaded the .html / .swf's from a floppy the ftp attribute was obviously gone and it just started working....whats up with that?

once th data was uploaded from the floppy...ls -al

drwxrwxrwx 2 root root 4096 Jan 1 04:43 .
drwxrwxrwx 3 root root 4096 Jan 1 04:42 ..
-rwxrwxrwx 1 root root 1055 Jan 1 04:43 first.html <--- loaded from floppy <root>
-rwxrwxrwx 1 root root 33232 Jan 1 04:43 first.swf
[root@localhost html]#


and it's all good to go ! excepti'm transferring files via 3.5" and not FTP, i would like to use FTP though.

ya knowwhat i mean ?

bc
 
Old 06-23-2004, 03:34 AM   #6
Kroppus
Member
 
Registered: Aug 2003
Location: Norway
Distribution: Debian UNSTABLE + latest 2.6.kernel
Posts: 391

Rep: Reputation: 30
You should set the mode for the ffolder to sticky,,
So that no matter who uploads them, they will end with the same usergroup.
the problem there with ftp is that only the user/group ftp can read them i guess..

Hope that helps.
And flopppy? I have not used a floppy in my pc since 98
 
Old 06-23-2004, 06:56 AM   #7
Mandangelo
LQ Newbie
 
Registered: Aug 2003
Posts: 11

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by Kroppus
And flopppy? I have not used a floppy in my pc since 98

viva la floppy !
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
apache won't serve pages gvaught Linux - Networking 6 12-08-2004 09:37 PM
Apache Server won't serve up large files perrond Linux - Networking 4 06-21-2004 10:53 AM
Using Squid and Apache in order to better serve pages xbaez Linux - Networking 2 04-07-2004 05:26 PM
Apache & two webs to serve. navajo Linux - Newbie 3 06-05-2003 01:57 PM
How do I get Apache to serve the right docs from the right directories? gomer1701ems Linux - Software 1 06-11-2001 09:29 PM


All times are GMT -5. The time now is 12:04 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration