Code Comments
Programming Forum and web based access to our favorite programming groups.I have this PHPBB2 forum running on my server. I want the user coming in from the internet to get directly into a specific forum I created. so the user types "http://for1.xxx.com" and immediately gets the login screen for forum for1. Now she comes in at the screen that shows all the forums I defined, by typing php.xxx.com. But I don't want that. suggestions ? frgr Erik
Post Follow-up to this messageI found this working, myself: ======================================== ======== VirtualDocumentRoot /var/www/%0/htdocs <Directory /> AllowOverride None Options None Order Deny,Allow Deny from all </Directory> <Directory /var/www > Options FollowSymLinks </Directory> <Directory /var/www/*.mydomain.*/htdocs > Order Deny,Allow Allow from All </Directory> <Directory /var/www/php.mydomain.com/htdocs > DirectoryIndex viewforum.php?f=2?start=0 Order Deny,Allow Allow from All </Directory> <Directory /var/www/fam.mydomain.com/htdocs > DirectoryIndex viewforum.php?f=1?start=0 Order Deny,Allow Allow from All </Directory> <Directory /var/www/plato.mydomain.com/htdocs > DirectoryIndex viewforum.php?f=2?start=0 Order Deny,Allow Allow from All </Directory> <Directory /var/www/*.mydomain.*/htdocs/docs > Order Deny,Allow Allow from 192.169.0.36 </Directory> ======================================== ====== where fam and plato are symlinks to php. Works ok, but I don't think that plato forum is invissible and inaccessable, when typing fam.mydomain.com as an URL... But that fancy "DirectoryIndex" does work, while it is not in The Book. btw: viewforum.php?f=2 etc. means a specific forum is accessed. Any suggestions as to how to make "the other forum" invisible ? fr gr Erik
Post Follow-up to this messagePowered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.