View previous topic :: View next topic |
Author |
Message |
Eldrin -
Joined: 10 Oct 2004 Posts: 8
|
Posted: Sun Oct 10, 2004 5:53 pm Post subject: portal.php as homepage...? |
|
|
I have been running abyss X1 for somewhere around a year now, and its a Wonderful program. Ive had massive problems with Apache, but never with abyss. i would like to thank aprelium for making this wonderful Web server. but ANYWAYS on to my problem. Ive got php,Mysql,phpmyadmin,PHPBB2,and I'M Portal 1.2.0 all installed and running. but when ever i got to my domain i get the index.php page, NOT my portal.php which is what i want people to see. I have set portal.php as a index file in the server parameters section of the console. it still directed me to index.php UNLESS i took that out of the index files listing, but that renders a lot of directories useless since it wont load that page and i don't want directory listings going out all over the place.
So my question: How to i get abyss to check for Portal.php FIRST, Then Index.php, Then index.HTML. i have gotten a workaround up, using meta refresh tags, but i hate workarounds and would like to get this working without one.
thx in advance for your support. |
|
Back to top |
|
 |
k1ll3rdr4g0n -
Joined: 04 Jul 2004 Posts: 609
|
Posted: Mon Oct 11, 2004 1:44 am Post subject: |
|
|
Server Config > Advanced > Server Parameters > Click Add
portal.php
Click Ok > Click Restart _________________
 |
|
Back to top |
|
 |
Eldrin -
Joined: 10 Oct 2004 Posts: 8
|
Posted: Mon Oct 11, 2004 2:10 am Post subject: |
|
|
Quote: | I have set portal.php as a index file in the server parameters section of the console. |
done that, it still loads the index.php instead of the portal page. |
|
Back to top |
|
 |
k1ll3rdr4g0n -
Joined: 04 Jul 2004 Posts: 609
|
Posted: Mon Oct 11, 2004 2:17 am Post subject: |
|
|
Oh...sorry didnt read all of it. Delete index.php and re add it, because i think abyss goes in order not sure something you can test :). _________________
 |
|
Back to top |
|
 |
Eldrin -
Joined: 10 Oct 2004 Posts: 8
|
Posted: Mon Oct 11, 2004 3:27 am Post subject: |
|
|
this is what it looks like:
Quote: | Portal.php
index.php
index.html |
the index.html is there because i am using that to meta refresh to my portal page. |
|
Back to top |
|
 |
k1ll3rdr4g0n -
Joined: 04 Jul 2004 Posts: 609
|
Posted: Mon Oct 11, 2004 4:28 am Post subject: |
|
|
is the file Portal.php or portal.php because thats where problem could be dont know im just trying to help and im running out of ideas....=( _________________
 |
|
Back to top |
|
 |
TRUSTAbyss -
Joined: 29 Oct 2003 Posts: 3752 Location: USA, GA
|
Posted: Mon Oct 11, 2004 5:03 am Post subject: |
|
|
Rename index.php to something if you want to use portal.php as the index
file that Abyss looks for in that certain folder , thats my only suggestion. |
|
Back to top |
|
 |
Eldrin -
Joined: 10 Oct 2004 Posts: 8
|
Posted: Mon Oct 11, 2004 6:20 am Post subject: |
|
|
renaming it would render liek my whole phpbb installation useless... il lsee what i can do. the work around is working though, so its not liek its a huge problem. |
|
Back to top |
|
 |
senshi -
Joined: 05 Nov 2003 Posts: 385 Location: UK
|
Posted: Mon Oct 11, 2004 12:54 pm Post subject: |
|
|
by default all web servers will look for an index.htm or html page, depending on who makes it, this page could be called just as easily ardvark.html or elephants.php it depends, but if you leave index.php or index.html it will load up the first instance of index.* so you will have to rename them to something else or use aliases to control the way your server resopnds to URL requests.
Parking portal.php into an alias of /portal would allow you to seperate off that portal and subsequent pages in that alias folder. any request arriving at / would be served up from the root folder where your index.* pages are saved.
I think this is one instance where an alias would be beneficial, it might mean reinstalling your forum board and change the settings in the servers, but once done you wouldnt have to do anythig else. |
|
Back to top |
|
 |
8-Ball -
Joined: 10 Oct 2004 Posts: 21
|
Posted: Mon Oct 11, 2004 8:34 pm Post subject: |
|
|
in Server Parameters put portal.php first, and put phpbb in its own folder, this just sounds right to me, i am a bit of a newbie so if I am wrong (sorry) _________________ You can win, but i can't lose |
|
Back to top |
|
 |
Eldrin -
Joined: 10 Oct 2004 Posts: 8
|
Posted: Wed Oct 13, 2004 10:27 am Post subject: |
|
|
hurm.... ill try that on my test server but ive got it working now with the index.html meta refreshing to the portal page. |
|
Back to top |
|
 |
Ashury -
Joined: 26 Oct 2004 Posts: 1
|
Posted: Tue Oct 26, 2004 11:11 am Post subject: |
|
|
or just remove the index.php and index.html things so it will not make them default homepage. |
|
Back to top |
|
 |
|