RewriteRule just forward to subdirectory
7 posts
• Page 1 of 1
RewriteRule just forward to subdirectory
Hello,
i easily want to do a forward from the rrot to the subdirectory of wordpress.
I have installed v3 on Win2k8R2 and IIS7.5
In the root I placed the followin content into a htaccess file:
RewriteEngine On
RewriteRule ^$ /wordpress [L]
I do not know nothing abour rewriting..obviously it is wrong...
aim:
http://www.mydomain.de should be loading
http://www.mydomain.de/wordpress
Help is appreciated![Sad :-(](./images/smilies/icon_e_sad.gif)
i easily want to do a forward from the rrot to the subdirectory of wordpress.
I have installed v3 on Win2k8R2 and IIS7.5
In the root I placed the followin content into a htaccess file:
RewriteEngine On
RewriteRule ^$ /wordpress [L]
I do not know nothing abour rewriting..obviously it is wrong...
aim:
http://www.mydomain.de should be loading
http://www.mydomain.de/wordpress
Help is appreciated
![Sad :-(](./images/smilies/icon_e_sad.gif)
- HeliconAndrew
-
- Posts: 1264
- Joined: 07 Mar 2012, 10:16
Re: RewriteRule just forward to subdirectory
Hello,
The rule is correct, basically.You may also try the following:
In case it doesn't work, please, provide error.log and rewrite.log for the testing request.
Logging issues described in FAQ
Regards
Andrew
The rule is correct, basically.You may also try the following:
- Code: Select all
RewriteEngine On
RewriteBase /
RewriteRule ^$ /wordpress [NC,L]
In case it doesn't work, please, provide error.log and rewrite.log for the testing request.
Logging issues described in FAQ
Regards
Andrew
Re: RewriteRule just forward to subdirectory
DOes not work,
no log written, just trying to find out where the problem is![Sad :-(](./images/smilies/icon_e_sad.gif)
Granted everyone permission. IIS 7.5. does not have a "green Arrow up" to see its working..
nevertheless it is assigned to the plesk user...
no log written, just trying to find out where the problem is
![Sad :-(](./images/smilies/icon_e_sad.gif)
Granted everyone permission. IIS 7.5. does not have a "green Arrow up" to see its working..
nevertheless it is assigned to the plesk user...
Re: RewriteRule just forward to subdirectory
correction:
error.log is now showing:
[28.06.2012 13:05:23] ISAPI Filter loaded. Version 3.1.0.89. Windows 6.1 (Build 7601 ServicePack:1) ProductType SERVER. CPU type INTEL NumberOfProcessors 4.
Probably something else wrong from my understanding:
THe code is placed in a .htaccess file in the root of the specified domain.
Is there another place to store this in?
Do i have to "announce" Isapi to use htaccess mode?
error.log is now showing:
[28.06.2012 13:05:23] ISAPI Filter loaded. Version 3.1.0.89. Windows 6.1 (Build 7601 ServicePack:1) ProductType SERVER. CPU type INTEL NumberOfProcessors 4.
Probably something else wrong from my understanding:
THe code is placed in a .htaccess file in the root of the specified domain.
Is there another place to store this in?
Do i have to "announce" Isapi to use htaccess mode?
- HeliconAndrew
-
- Posts: 1264
- Joined: 07 Mar 2012, 10:16
Re: RewriteRule just forward to subdirectory
Provide NTFS permissions for everyone for both root of the site and the installation folder of ISAPI_Rewrite(sometimes we simply delete plesk users from a list of restrictive users in NTFS properties).
The location of the rules is correct, although the absence of green arrow indicates that isapi_rewrite .dll file has not been loaded properly.
Please, see the following to resolve permissions issues - here
Regards
Andrew
The location of the rules is correct, although the absence of green arrow indicates that isapi_rewrite .dll file has not been loaded properly.
Please, see the following to resolve permissions issues - here
Regards
Andrew
Re: RewriteRule just forward to subdirectory
IIS_WPG group is member.
The site user does not have a dedicated plesk pool.
Does not the line in the error.log indicates that "ISAPI Filter..." is "...loaded"?
I do really not know where "green arrows" should be..there is no place to show them?
NTFS Permission on the root of the website for everyone?!
For testing or do you expect to "opeN" the site in general.
re-applying permission to program directory weems to work.
will perform some testing.
Thanks so far.
The site user does not have a dedicated plesk pool.
Does not the line in the error.log indicates that "ISAPI Filter..." is "...loaded"?
I do really not know where "green arrows" should be..there is no place to show them?
NTFS Permission on the root of the website for everyone?!
For testing or do you expect to "opeN" the site in general.
re-applying permission to program directory weems to work.
will perform some testing.
Thanks so far.
- HeliconAndrew
-
- Posts: 1264
- Joined: 07 Mar 2012, 10:16
Re: RewriteRule just forward to subdirectory
Permissions has always contained some "magic" with overwriting and inheriting, so we always try to eliminate that first when PLESK is involved.
Well, permissions for everyone - just for testing, to prove it's permissions, not something else. Just to overwrite PLESK users with their permissions.
Look forward hearing from you.
Regards
Andrew
Well, permissions for everyone - just for testing, to prove it's permissions, not something else. Just to overwrite PLESK users with their permissions.
Look forward hearing from you.
Regards
Andrew
7 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 27 guests