Print Topic - Archive

E-Blah Community  /  Modification Archive  /  Making Eblah index file
Posted by: saud, December 26, 2004, 1:12pm
I want to suggest you about the Blah.pl .

In the next version of Eblah please rename the Blah.pl to index.cgi because when I tested with other forum packages like "Invision Power Board" it comes with index file. And why Eblah should be behind them because Eblah is the best. I love Eblah very much. I have tested it by renaming Blah.pl to index.cgi , it worked !!!!

by changing the text as told in http://www.eblah.com/cgi-bin/bb/Blah.pl?b=btech,m=1083374183,s=11

Code
$scripturl = "index.cgi?b=$URL{'b'}$usert";
$surl = "index.cgi?$usert";
$rurl = "$realurl/index.cgi?";


If you put the index.cgi file in the root directory it will work.

I think that the future package of the Eblah should contain this file because doing this will make Eblah a complete professional package. It will not look like /cgi-bin/Blah/Blah.pl

I hope that you will consider my view.
Posted by: Justin, December 26, 2004, 1:34pm; Reply: 1
Actually, as much as I was about to tell you no ... I think I might do it anyway, lol.
Posted by: Justin, December 26, 2004, 1:37pm; Reply: 2
Actually, the upgrade from P5 to P8 is already a problem enough ... so I'll leave it alone for a while.  But I might add it eventually.
Posted by: Justin, December 26, 2004, 1:43pm; Reply: 3
The next version will have this, though:

$scriptname = 'Blah.pl';

You can change it to like index.pl and it will change everything.  There will be no more .cgi auto find though.  So it may hurt some newbies.
Posted by: Gilgamesj, December 26, 2004, 2:47pm; Reply: 4
I use a HTML (index.html) to redirect directly to my board.

See my post here for more details.
Posted by: saud, December 27, 2004, 2:19pm; Reply: 5
Pleasd do not change the Blah.pl to index.pl because it is not the default index file. I have tested and found that index.cgi is the index file. In order to make it a complete package please rename it to index.cgi instead of index.pl
Posted by: Justin, December 27, 2004, 3:54pm; Reply: 6
The standard is .pl now ... not .cgi.
Posted by: Ryan, December 27, 2004, 6:12pm; Reply: 7
Saud - it might be the default/index for your server, but MANY other servers will not allow a perl file as default, unless you specifically ask for it.

Justin - keep it the way it is.  The name of the file has no bearing on the program!  If peeps really want it as the index file, they can use frames or include it via php or ssi!
Posted by: Justin, December 27, 2004, 9:44pm; Reply: 8
I'm not messing with it.  :)  No worries.  :P
Print page generated: January 9, 2009, 3:14pm