application/octet-stream download instead of index page?

 
Post new topic   Reply to topic    Aprelium Forum Index -> PHP
View previous topic :: View next topic  
Author Message
Radical_Edward
-


Joined: 27 Dec 2005
Posts: 17

PostPosted: Fri Dec 08, 2006 10:06 pm    Post subject: application/octet-stream download instead of index page? Reply with quote

I have just installed php and abyss on a project server...I have it running perfectly on another server...

When I go to the site

hdl.iit.edu

it tries to download a file

but if you go to

hdl.iit.edu/index.php

the script runs fine.

My question is...why does it do this? And what can I do to fix it? This was installed according to the procedure at abyssunderground...

I have it working just fine on my other site, which uses the same setup(abyss/mysql/php on Windows XP). I dont understand...
_________________
Whatever you just read should not be taken at face value. They are the words of a crazy man.


Last edited by Radical_Edward on Fri Dec 08, 2006 10:32 pm; edited 1 time in total
Back to top View user's profile Send private message Visit poster's website
Moxxnixx
-


Joined: 21 Jun 2003
Posts: 1226
Location: Florida

PostPosted: Fri Dec 08, 2006 10:13 pm    Post subject: Reply with quote

In Abyss console > host configuration, make sure you have "index.php" listed in your index files.
Back to top View user's profile Send private message Visit poster's website
Radical_Edward
-


Joined: 27 Dec 2005
Posts: 17

PostPosted: Fri Dec 08, 2006 10:22 pm    Post subject: Reply with quote

yeah it is....
_________________
Whatever you just read should not be taken at face value. They are the words of a crazy man.
Back to top View user's profile Send private message Visit poster's website
Radical_Edward
-


Joined: 27 Dec 2005
Posts: 17

PostPosted: Fri Dec 08, 2006 10:24 pm    Post subject: Reply with quote

application/octet-stream

thats what it tries to download...some binary with no extension...

and when i disable php, it still does that

it seems to happen everytime i load the site without specifying a file...so it doesnt seem to be php specifically that causes the error...
_________________
Whatever you just read should not be taken at face value. They are the words of a crazy man.
Back to top View user's profile Send private message Visit poster's website
Moxxnixx
-


Joined: 21 Jun 2003
Posts: 1226
Location: Florida

PostPosted: Fri Dec 08, 2006 10:37 pm    Post subject: Reply with quote

You might need to go over the tut again. You might have overlooked something.
Are you sure "php" is entered in the extension field?
Back to top View user's profile Send private message Visit poster's website
Radical_Edward
-


Joined: 27 Dec 2005
Posts: 17

PostPosted: Fri Dec 08, 2006 10:44 pm    Post subject: Reply with quote

http://hdl.iit.edu/php_config.jpg

http://hdl.iit.edu/index.jpg

sorry for the long download times
_________________
Whatever you just read should not be taken at face value. They are the words of a crazy man.
Back to top View user's profile Send private message Visit poster's website
Radical_Edward
-


Joined: 27 Dec 2005
Posts: 17

PostPosted: Fri Dec 08, 2006 10:54 pm    Post subject: Reply with quote

i should also mention that it there is an html index page there too...

so it must not be just php
_________________
Whatever you just read should not be taken at face value. They are the words of a crazy man.
Back to top View user's profile Send private message Visit poster's website
Moxxnixx
-


Joined: 21 Jun 2003
Posts: 1226
Location: Florida

PostPosted: Fri Dec 08, 2006 11:06 pm    Post subject: Reply with quote

They loaded fine for me.

Have you tried this tut yet?
http://www.aprelium.com/abyssws/php5win.html
Back to top View user's profile Send private message Visit poster's website
Radical_Edward
-


Joined: 27 Dec 2005
Posts: 17

PostPosted: Fri Dec 08, 2006 11:13 pm    Post subject: Reply with quote

i had tried that first...the redid it according to php underground which is how i did my other server that is set up like this

problem occurred both times

the only difference between the two seems to be the REDIRECT STATUS environment variable

and I installed the special php version from the aprelium site...

see..the thing is...as shown in the links in the very first post...the php stuff does work...

when you enter the url but don't specify a file, it refuses to load the index file...and wants a binary file to be downloaded instead
_________________
Whatever you just read should not be taken at face value. They are the words of a crazy man.
Back to top View user's profile Send private message Visit poster's website
AbyssUnderground
-


Joined: 31 Dec 2004
Posts: 3855

PostPosted: Fri Dec 08, 2006 11:28 pm    Post subject: Reply with quote

Both sites work for me. My tutorials are accurate and work if you follow them properly.
_________________
Andy (AbyssUnderground) (previously The Inquisitor)
www.abyssunderground.co.uk
Back to top View user's profile Send private message Visit poster's website
Radical_Edward
-


Joined: 27 Dec 2005
Posts: 17

PostPosted: Fri Dec 08, 2006 11:34 pm    Post subject: Reply with quote

both sites?

you mean that http://hdl.iit.edu works? or that both tutorials work? if the latter is the case...yeah...

since it also doesnt load the html index page, i think its safe to say that the problem is the server itself...not the php setup...but the question is then...why does it try to send a binary instead of loading an index page unless i specify the page?
_________________
Whatever you just read should not be taken at face value. They are the words of a crazy man.
Back to top View user's profile Send private message Visit poster's website
AbyssUnderground
-


Joined: 31 Dec 2004
Posts: 3855

PostPosted: Fri Dec 08, 2006 11:37 pm    Post subject: Reply with quote

Both of your links work and load the pages properly.
_________________
Andy (AbyssUnderground) (previously The Inquisitor)
www.abyssunderground.co.uk
Back to top View user's profile Send private message Visit poster's website
Ralph
-


Joined: 17 Sep 2006
Posts: 87

PostPosted: Sat Dec 09, 2006 12:58 pm    Post subject: Reply with quote

Radical_Edward

Probably should not have an index.html and an index.php in the same directory. Might need to make a folder or rename the index.html to index2.html...

The server does not know which file to load and that may be why you have to specify the php page...
_________________
My Abyss Websites!
www.qualitynetdesign.com
Back to top View user's profile Send private message Visit poster's website
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Sat Dec 09, 2006 2:35 pm    Post subject: Reply with quote

Radical_Edward,

It seems that your browser is giving you the pages from its cache (and that at the first access, PHP was not setup so .php had files no recognized MIME type hence the use of application/octet-stream as a default).

Force your browser to get the page from the server by pressing CTRL+F5 or CTRL+SHIFT+R (it depends on the browser). Alternatively flush its cache.
_________________
Support Team
Aprelium - http://www.aprelium.com
Back to top View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> PHP All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group