|
|
Beginners first steps with PHPWeblog
Posted under Development by Daniel on Tuesday June 06 2000 @ 02:48PM EDT
|
Is there anybody who can tell me how to make stories.php3 as the starting page, please?
I started a new german site based on phpeweblog at http://hockey.gnw.de
Daniel
|
|
|
|
philip writes on Tuesday June 06 2000 @ 04:03PM EDT: [ reply | parent ]
one way is to sym link it (assuming you're using linux) do this:
ln -s stories.php3 index.html
or something simular. is this what you mean?
|
|
JasonW writes on Tuesday June 06 2000 @ 08:39PM EDT: [ reply | parent ]
In you web server set it as the default document. In Apache this would be:
DirectoryIndex stories.php3
|
|
Brian writes on Wednesday June 07 2000 @ 12:24AM EDT: [ reply | parent ]
Daniel,
There is already a symbolic link set up in the latest unstable so that stories.php3 links to index.php3. Assuming you have your web server configuration set up properly, you wouldn't have to do anything (at least I didn't).
|
|
Jonathan writes on Friday June 09 2000 @ 12:27AM EDT: [ reply | parent ]
For now, I'm placing an index page with refresh tags. I was using philip's suggestion, but for some reason on my server, it won't execute the PHP script (displays the code instead) if I was to have the browser point to /?id=1 instead of stories.php3?id=1
What can I do about this?
|
|
philip writes on Friday June 09 2000 @ 05:07AM EDT: [ reply | parent ]
point it to index.php3 instead of index.html , that should work as it sounds like your server is setup to parse .php3 as php but not .html and not sure why the initial.php3 didn't work. make sure the index.php3 is the only index.* file in the directory and all should be good.
|
|
Daniel writes on Friday June 09 2000 @ 10:26AM EDT: [ reply | parent ]
Yes, thanks.
I took a page index.html in the root-directory und included a refresh tag to stories.php3.
|
|
philip writes on Friday June 09 2000 @ 02:45PM EDT: [ reply | parent ]
symlinks work much better and index.php3 should work just fine if stories.php3 does. but, if you're going to redirect, doing something like this is good :
better then meta refresh tags.
|
|
Ryan Troy writes on Saturday June 10 2000 @ 02:16AM EDT: [ reply | parent ]
I had the same problem my index.php3 would not load so I created this for my index.php3 it seems to work fine.
|
|
|
|
|