vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   .htaccess rewrite issue (https://vborg.vbsupport.ru/showthread.php?t=310117)

GrzegorzS 04-02-2014 05:41 AM

.htaccess rewrite issue
 
Hello

I`m trying to standarize urls for my forum to open the same url whatever you write http://vw-forum.pl or http://www.vw-forum.pl

I have following entries and they are working fine but when I`m trying to logon or register it`s not logging in it`s just doing nothing

In error_log I found

[Wed Apr 02 08:02:47 2014] [error] [client 89.231.101.172] Options FollowSymLinks or SymLinksIfOwnerMatch is off which implies that RewriteRule directive is forbidden: /var/www/vhosts/vw-forum.pl/httpdocs/vw-forum.pl


RewriteEngine on
Options FollowSymLinks
RewriteCond %{HTTP_HOST} !^www\.vw-forum\.pl$ [NC]
RewriteRule ^(.*)$ http://www.vw-forum.pl/$1 [QSA,L,R=301]


Pls help me to resolve this problem

ikopylov 04-02-2014 08:36 AM

Code:

Options +FollowSymLinks
RewriteEngine On
RewriteCond %{HTTP_HOST} ^vw-forum\.pl
RewriteRule (.*)$ http://www.vw-forum.pl/$1 [R=301,L]


GrzegorzS 04-02-2014 06:19 PM

Hello

Thanks a lot for your feedback - indeed that help and now the message about RewriteRule directive is forbidden not appearing anymore.

However issue that registration and login form not working still persist :(
I`m clicking login button and it`s like doing nothing and moving to the main page

you can take a look here http://www.vw-forum.pl/vw_login.php
just click login button and you will see that behaviour

Any idea what`s wrong here ?

Thanks
Greg

ikopylov 04-02-2014 07:28 PM

Answer me please
- Why it is necessary to rename or change the standard login page ?
- This is a spam protection ?

I do not understand for what purpose and how you did it

GrzegorzS 04-03-2014 06:12 AM

Hello

To understand you correctly are you asking about url for loggin or the form view ?
If form view it was changed to have a bit diffrent view then standard one

Thanks
Greg

Seven Skins 04-03-2014 11:59 AM

^^ I think ikopylov wanted to know why the login.php has been renamed to vw-login.php and for what purpose?

Simon Lloyd 04-04-2014 06:03 PM

Checking the source code shows that it's still just looking for login.php


All times are GMT. The time now is 09:52 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.00965 seconds
  • Memory Usage 1,719KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete