This forum has been moved here:
Helicon Tech Community Forum

  Active TopicsActive Topics  Display List of Forum MembersMemberlist  HelpHelp   RegisterRegister  LoginLogin
Helicon Ape
 Helicon Tech : Helicon Ape
Subject Topic: After formatting,ape doesn’t work anymore Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
Mr. Eagle
Newbie
Newbie


Joined: 19 December 2011
Location: Germany
Online Status: Offline
Posts: 6
Posted: 19 December 2011 at 5:21pm | IP Logged Quote Mr. Eagle

Hello dear Community!

before formatting my server everything works fine with Ape.
But after formatting, my mod_rewrite script don't work anymore:

RewriteEngine On
RewriteCond %{HTTP_HOST} ^domain\.de$ [NC]
RewriteRule ^(.*)$ http://www.domain.de/$1 [R=301,L]

I don't know where the problem is. Maybe misconfiguration?
I have Windows Server 2008 R2 Datacenter OS and IIS 7.5.

Thank you for your help!
Mr. Eagle
Back to Top View Mr. Eagle's Profile Search for other posts by Mr. Eagle Visit Mr. Eagle's Homepage
 
Mr. Eagle
Newbie
Newbie


Joined: 19 December 2011
Location: Germany
Online Status: Offline
Posts: 6
Posted: 20 December 2011 at 4:01am | IP Logged Quote Mr. Eagle

The error.log tells me:

[ConfigWatcher] Can't watch by C:\Program Files (x86)\Helicon\Ape\ directory Der Verzeichnisname C:\Program Files (x86)\Helicon\Ape\ ist ungültig.;


regards
Mr. Eagle
Back to Top View Mr. Eagle's Profile Search for other posts by Mr. Eagle Visit Mr. Eagle's Homepage
 
Anton
Admin Group
Admin Group


Joined: 30 January 2007
Location: Ukraine
Online Status: Offline
Posts: 10520
Posted: 20 December 2011 at 4:38am | IP Logged Quote Anton

It look like a permissions issue.
Please make sure the user that is running the application pool for the site has proper permissions including List Folder Content.

__________________
Regards,
Anton
Back to Top View Anton's Profile Search for other posts by Anton
 
Mr. Eagle
Newbie
Newbie


Joined: 19 December 2011
Location: Germany
Online Status: Offline
Posts: 6
Posted: 20 December 2011 at 5:04am | IP Logged Quote Mr. Eagle

Hi,

Thank you for your answer.
But where can i change the permissions?

Regards,
Mr. Eagle
Back to Top View Mr. Eagle's Profile Search for other posts by Mr. Eagle Visit Mr. Eagle's Homepage
 
Anton
Admin Group
Admin Group


Joined: 30 January 2007
Location: Ukraine
Online Status: Offline
Posts: 10520
Posted: 20 December 2011 at 6:01am | IP Logged Quote Anton

Permissions can be changed in Windows Explorer by right-clicking on the folder, going to Properties -> Security.

__________________
Regards,
Anton
Back to Top View Anton's Profile Search for other posts by Anton
 
Mr. Eagle
Newbie
Newbie


Joined: 19 December 2011
Location: Germany
Online Status: Offline
Posts: 6
Posted: 20 December 2011 at 6:19am | IP Logged Quote Mr. Eagle

The error disappeared!
([ConfigWatcher] Can't watch by C:\Program Files (x86)\Helicon\Ape\ directory Der Verzeichnisname C:\Program Files (x86)\Helicon\Ape\ ist ungültig.;)

But the script is still not working..
I believe that IIS is guilty.
Any ideas?

regards
Mr. Eagle
Back to Top View Mr. Eagle's Profile Search for other posts by Mr. Eagle Visit Mr. Eagle's Homepage
 
Mr. Eagle
Newbie
Newbie


Joined: 19 December 2011
Location: Germany
Online Status: Offline
Posts: 6
Posted: 20 December 2011 at 8:37am | IP Logged Quote Mr. Eagle

Hi, i have some news:
I have enabled:

Loglevel debug
ErrorLog error.log
and
RewriteLog rewrite.log
RewriteLogLevel 9

Now the errorlog throws:

[20.12.2011 14:44:52] [mod_core_context] (8) [/news/] ConfigFactory.LoadHtaccess: c:\inetpub\vhosts\domain\httpdocs\.htaccess

[20.12.2011 14:44:52] [mod_core_context] (8) [/news/] ConfigFactory.LoadHtaccess:
[20.12.2011 14:50:55] [mod_core_context] (8) [/forum/] ConfigFactory.LoadHtaccess:
[20.12.2011 15:04:44] [mod_core_context] (8) [/glossar/] ConfigFactory.LoadHtaccess:

the rewrite log file remains empty.

EDIT:
ASAPI_Rewrite 3 works for me.

Best Regards
Mr. Eagle


Edited by Mr. Eagle - 20 December 2011 at 9:32am
Back to Top View Mr. Eagle's Profile Search for other posts by Mr. Eagle Visit Mr. Eagle's Homepage
 
Anton
Admin Group
Admin Group


Joined: 30 January 2007
Location: Ukraine
Online Status: Offline
Posts: 10520
Posted: 21 December 2011 at 7:32am | IP Logged Quote Anton

Hello,

Don't you have ISAPI_Rewrite 3 and Ape installed on the same machine?
Please make sure you don't have ISAPI filters for both tools registered.


__________________
Regards,
Anton
Back to Top View Anton's Profile Search for other posts by Anton
 
Mr. Eagle
Newbie
Newbie


Joined: 19 December 2011
Location: Germany
Online Status: Offline
Posts: 6
Posted: 21 December 2011 at 8:35am | IP Logged Quote Mr. Eagle

Hello,

ape --> deinstall
Rewrite 3 --> install

now my script works perfectly.

Regards,
Mr. Eagle
Back to Top View Mr. Eagle's Profile Search for other posts by Mr. Eagle Visit Mr. Eagle's Homepage
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You can vote in polls in this forum