LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   apache just won't serve flash.. help ! (https://www.linuxquestions.org/questions/programming-9/apache-just-wont-serve-flash-help-194806/)

Mandangelo 06-17-2004 09:24 PM

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

Kroppus 06-18-2004 07:06 AM

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?

Mandangelo 06-18-2004 10:27 PM

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]#
[

Kroppus 06-19-2004 11:52 AM

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..

Mandangelo 06-20-2004 09:51 PM

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

Kroppus 06-23-2004 03:34 AM

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

Mandangelo 06-23-2004 06:56 AM

Quote:

Originally posted by Kroppus
And flopppy? I have not used a floppy in my pc since 98

viva la floppy !


All times are GMT -5. The time now is 10:26 AM.