2010-03-22, 06:16 AM
2010-03-25, 04:38 AM
I may use this sometime
Nginx users can use this:
Nginx users can use this:
rewrite ^/$ /forum/portal.php last;
2010-03-25, 02:04 PM
I probably have things differently than everyone else, but I have /var/www/bb for my forum, /var/www/code for my other forum, /var/www/img for my image hosting site, /var/www/ for my main stuff. In my .htaccess in /var/www/ all I did was
DirectoryIndex bb/portal.php index.php
2010-04-24, 05:41 PM
(2010-02-19, 03:46 PM)KDulcimer Wrote: [ -> ]Thanks much! However, when I login via the header, it redirects me to member.php when I need to go to forum/member.php.
I am using ProPortal.
I'm getting the same error. =/
(2010-02-24, 05:47 PM)KDulcimer Wrote: [ -> ]Fixed by symlinking forum/member.php to member.php
And I don't understand what this means to fix it =/
Somebody please help? I can't login from the portal =/
2010-04-25, 08:34 PM
Use this instead,
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteRule ^$ board/portal.php [L,QSA]
RewriteRule ^$ board/member.php [L,QSA]
</IfModule>
That will fix all member.php issues.2010-11-10, 03:45 AM
Look like some people have problem with the method?
does anyone has a method that is working perfectly?
i using example.com/forum for my forum and want the portal to be on example.com/
does anyone has a method that is working perfectly?
i using example.com/forum for my forum and want the portal to be on example.com/
2010-11-10, 10:58 AM
(2010-11-10, 03:45 AM)truejeff Wrote: [ -> ]Look like some people have problem with the method?
does anyone has a method that is working perfectly?
i using example.com/forum for my forum and want the portal to be on example.com/
yes , just edit the " .htaccess " change it using you domain name
and put it on the root derictory not in the forum derictory (see the pic plz )
[attachment=20475]
Good luck
2010-11-10, 11:44 AM
hi, i tried using the following 3 methods on a test forum, all of them give me the same result. The redirection works fine, but the images are not redirected. i got the images refering to example.com/image while they are suppose to refer to example.com/forum/image.
All the other links look fine. I'll like to know what is this .htaccess file and how it work?
Can some kind soul enlighten me?
All the other links look fine. I'll like to know what is this .htaccess file and how it work?
Can some kind soul enlighten me?
DirectoryIndex bb/portal.php index.php
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteRule ^$ board/portal.php [L,QSA]
RewriteRule ^$ board/member.php [L,QSA]
</IfModule>
(2010-11-10, 10:58 AM)haytoch Wrote: [ -> ]
yes , just edit the " .htaccess " change it using you domain name
and put it on the root derictory not in the forum derictory (see the pic plz )
" .htaccess.txt " to edit attached below change the name to .htaccess .
Online Démo : www.bahi-education.com
Good luck
2010-11-10, 11:50 AM
(2010-11-10, 11:44 AM)truejeff Wrote: [ -> ]hi, i tried using the following 3 methods on a test forum, all of them give me the same result. The redirection works fine, but the images are not redirected. i got the images refering to example.com/image while they are suppose to refer to example.com/forum/image.
All the other links look fine. I'll like to know what is this .htaccess file and how it work?
Can some kind soul enlighten me?
DirectoryIndex bb/portal.php index.php
<IfModule mod_rewrite.c> RewriteEngine on RewriteRule ^$ board/portal.php [L,QSA] RewriteRule ^$ board/member.php [L,QSA] </IfModule>
(2010-11-10, 10:58 AM)haytoch Wrote: [ -> ]
yes , just edit the " .htaccess " change it using you domain name
and put it on the root derictory not in the forum derictory (see the pic plz )
Good luck
The first one it's true i test it befor and the images don't show .
The 3th one works online for me fine " exemple.com/forum .(i never test it on local :s )
"Are you sur you put the file in the right palace ?"
if you have online url we can help
2010-11-10, 11:53 AM
i have the original .htaccess in /forum folder
and i added the .htaccess downloaded into the root folder (i change the yourdomain.com to my root folder url)
which mean now i have 2 .htaccess files, is that correct?
*I've pm-ed you my site.*
and i added the .htaccess downloaded into the root folder (i change the yourdomain.com to my root folder url)
which mean now i have 2 .htaccess files, is that correct?
*I've pm-ed you my site.*