View previous topic :: View next topic |
Author |
Message |
Radical_Edward -
Joined: 27 Dec 2005 Posts: 17
|
Posted: Fri Dec 08, 2006 10:06 pm Post subject: application/octet-stream download instead of index page? |
|
|
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 |
|
|
Moxxnixx -
Joined: 21 Jun 2003 Posts: 1226 Location: Florida
|
Posted: Fri Dec 08, 2006 10:13 pm Post subject: |
|
|
In Abyss console > host configuration, make sure you have "index.php" listed in your index files. |
|
Back to top |
|
|
Radical_Edward -
Joined: 27 Dec 2005 Posts: 17
|
Posted: Fri Dec 08, 2006 10:22 pm Post subject: |
|
|
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 |
|
|
Radical_Edward -
Joined: 27 Dec 2005 Posts: 17
|
Posted: Fri Dec 08, 2006 10:24 pm Post subject: |
|
|
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 |
|
|
Moxxnixx -
Joined: 21 Jun 2003 Posts: 1226 Location: Florida
|
Posted: Fri Dec 08, 2006 10:37 pm Post subject: |
|
|
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 |
|
|
Radical_Edward -
Joined: 27 Dec 2005 Posts: 17
|
|
Back to top |
|
|
Radical_Edward -
Joined: 27 Dec 2005 Posts: 17
|
Posted: Fri Dec 08, 2006 10:54 pm Post subject: |
|
|
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 |
|
|
Moxxnixx -
Joined: 21 Jun 2003 Posts: 1226 Location: Florida
|
|
Back to top |
|
|
Radical_Edward -
Joined: 27 Dec 2005 Posts: 17
|
Posted: Fri Dec 08, 2006 11:13 pm Post subject: |
|
|
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 |
|
|
AbyssUnderground -
Joined: 31 Dec 2004 Posts: 3855
|
Posted: Fri Dec 08, 2006 11:28 pm Post subject: |
|
|
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 |
|
|
Radical_Edward -
Joined: 27 Dec 2005 Posts: 17
|
Posted: Fri Dec 08, 2006 11:34 pm Post subject: |
|
|
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 |
|
|
AbyssUnderground -
Joined: 31 Dec 2004 Posts: 3855
|
Posted: Fri Dec 08, 2006 11:37 pm Post subject: |
|
|
Both of your links work and load the pages properly. _________________ Andy (AbyssUnderground) (previously The Inquisitor)
www.abyssunderground.co.uk |
|
Back to top |
|
|
Ralph -
Joined: 17 Sep 2006 Posts: 87
|
Posted: Sat Dec 09, 2006 12:58 pm Post subject: |
|
|
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 |
|
|
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Sat Dec 09, 2006 2:35 pm Post subject: |
|
|
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 |
|
|
|