Active TopicsActive Topics  Display List of Forum MembersMemberlist  HelpHelp   RegisterRegister  LoginLogin
Helicon Ape
 Helicon Tech : Helicon Ape
Subject Topic: not using .htaccess Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
Dave-W
Groupie
Groupie


Joined: 09 December 2009
Location: United Kingdom
Online Status: Offline
Posts: 43
Posted: 11 February 2010 at 11:47am | IP Logged Quote Dave-W

We have iis7 woth windows 2008, if I put

AccessFileName NEFILE.NAME

Will this make APE use NEFILE.NAME if I put it in the httpd.conf file?

Thanks
Back to Top View Dave-W's Profile Search for other posts by Dave-W
 
Yaroslav
Admin Group
Admin Group


Joined: 15 August 2002
Online Status: Offline
Posts: 6521
Posted: 11 February 2010 at 12:26pm | IP Logged Quote Yaroslav

Short answer is yes, it will.

__________________
Yaroslav Govorunov,
Helicon Tech
Back to Top View Yaroslav's Profile Search for other posts by Yaroslav Visit Yaroslav's Homepage
 
Dave-W
Groupie
Groupie


Joined: 09 December 2009
Location: United Kingdom
Online Status: Offline
Posts: 43
Posted: 20 February 2010 at 10:29am | IP Logged Quote Dave-W

We have finally got around to installing Ape on our new Server (windows server 2008 R2/iis7) but it is not working.

here is the httpd.conf file.

=============
# Helicon Ape version 3.0.0.31

# Helicon Ape core configuration

#Automatically generated license file
Include licenses.conf


#FILE EXTENSION TO BE USED
AccessFileName isapi.init

#Loglevel debug
ErrorLog error.log

##
## The following code enables most detailed logging for mod_rewrite
##
#RewriteLog rewrite.log
RewriteLogLevel 9


#force Ape to ignore syntax errors in config
Options -StopOnError

#
# Please uncomment necessary modules
# Read more about supported modules here http://www.helicontech.com/ape/doc/overview.htm
#



LoadModule authz_host_module      modules/mod_authz_host.so
LoadModule auth_basic_module     modules/mod_auth_basic.so
#LoadModule auth_digest_module   modules/mod_auth_digest.so
LoadModule authn_file_module    modules/mod_authn_file.so
#LoadModule authn_anon_module    modules/mod_authn_anon.so
#LoadModule authn_default_module modules/mod_authn_default.so
LoadModule authz_user_module    modules/mod_authz_user.so
#LoadModule authz_groupfile_module modules/mod_authz_groupfile.so
#LoadModule authz_default_module modules/mod_authz_default.so
#LoadModule cache_module           modules/mod_cache.so
#LoadModule disk_cache_module     modules/mod_mem_cache.so
#LoadModule developer_module        modules/mod_developer.so
#LoadModule env_module           modules/mod_env.so
#LoadModule expires_module       modules/mod_expires.so
#LoadModule filter_module     modules/mod_filter.so
#LoadModule gzip_module            modules/mod_gzip.so
#LoadModule headers_module       modules/mod_headers.so
#LoadModule hotlink_module    modules/mod_hotlink.so
#LoadModule linkfreeze_module   modules/mod_linkfreeze.so
#LoadModule log_config_module    modules/mod_log_config.so
#LoadModule mem_cache_module    modules/mod_mem_cache.so

LoadModule proxy_module         modules/mod_proxy.so
LoadModule rewrite_module       modules/mod_rewrite.so
#LoadModule replace_module       modules/mod_replace.so
#LoadModule setenvif_module      modules/mod_setenvif.so
#LoadModule speling_module        modules/mod_speling.so



##
## The following code hides .htaccess and .htpasswd files from sites visitors.
##
## To make this code working authz_host_module is needed
#
#<FilesMatch "^\.ht">
#    Order allow,deny
#    Deny from all
#    Satisfy All
#</FilesMatch>


##
## The following code enables caching and compression for all static files
## accounting for browser peculiarities
##

#Include smart_gzip_compression.conf

===================

Just being looking at the server and instead of the hosting files being on "C" where all the program files are they are on a different Drive "E"

All help would be grateful.
Thanks





Edited by Dave-W - 20 February 2010 at 1:22pm
Back to Top View Dave-W's Profile Search for other posts by Dave-W
 
Yaroslav
Admin Group
Admin Group


Joined: 15 August 2002
Online Status: Offline
Posts: 6521
Posted: 20 February 2010 at 4:31pm | IP Logged Quote Yaroslav

Can you please be more specific? There is nothing in httpd.conf to tell wether Ape works or not. What you are trying to do with it and how you are doing it?

__________________
Yaroslav Govorunov,
Helicon Tech
Back to Top View Yaroslav's Profile Search for other posts by Yaroslav Visit Yaroslav's Homepage
 
Dave-W
Groupie
Groupie


Joined: 09 December 2009
Location: United Kingdom
Online Status: Offline
Posts: 43
Posted: 21 February 2010 at 4:26am | IP Logged Quote Dave-W

we are moving from one server to another, and the re-write works on the old server but when we move the site to the new server we are getting 404's.

For the purpose of ease and back-up, we have set the servers up so the hosting files are on a seperate drive "e" so I did not know if this could be causing the problem of the 404's for everything.

The re-write log and error log are not showing anything.


Edited by Dave-W - 21 February 2010 at 4:29am
Back to Top View Dave-W's Profile Search for other posts by Dave-W
 
Vyacheslav
Admin Group
Admin Group


Joined: 02 July 2008
Location: Ukraine
Online Status: Offline
Posts: 1535
Posted: 22 February 2010 at 5:05am | IP Logged Quote Vyacheslav

Hello,
Thank you for the explanation. Could you provide us with your configuration please. I mean those re-write rules which were working on the old server.
If you feel uncomfortable to share the configuration here, please send it to us by email: support@helicontech.com

Thank you.


__________________
Slavik Shynkarenko,
Helicon Tech.
Back to Top View Vyacheslav's Profile Search for other posts by Vyacheslav Visit Vyacheslav's Homepage
 
Dave-W
Groupie
Groupie


Joined: 09 December 2009
Location: United Kingdom
Online Status: Offline
Posts: 43
Posted: 22 February 2010 at 5:19am | IP Logged Quote Dave-W

Hello
Please find below the Rules which where workingon the old server.

# Helicon ISAPI_Rewrite configuration file
# Version 3.1.0.64

RewriteEngine on
RewriteBase /
RewriteMap Categories txt:Categories.txt [NC]
RewriteMap CategoriesRev txt:CategoriesRev.txt [NC]

RewriteRule ^$ default.htm [R=301,L]
RewriteRule ^default\.aspx/$ default.htm [NC,R=301,L]

RewriteCond %{QUERY_STRING} ^pid=(.+)$ [NC]
RewriteRule ^Design\.aspx$ ${CategoriesRev:%1}.htm? [NC,R=301,L]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond ${Categories:$1|NOT_FOUND} !NOT_FOUND
RewriteRule ^([^/]+)\.htm$ Design.aspx?pid=${Categories:$1} [NC,L]

The thing which makes me think it is not working is there is nothing in teh error log or re-write log. I unistalled Ape and still got the same response 404.

Thanks

Back to Top View Dave-W's Profile Search for other posts by Dave-W
 
Vyacheslav
Admin Group
Admin Group


Joined: 02 July 2008
Location: Ukraine
Online Status: Offline
Posts: 1535
Posted: 22 February 2010 at 6:03am | IP Logged Quote Vyacheslav

Hello,
Thanks for the rules. A couple of reasons come in mind. First of all it may be NTFS permissions which cause the issue.
Please make sure the application pool user is allowed to read .htaccess/httpd.conf, Categories.txt and CategoriesRev.txt files as well as list the folders which host those files.
The other possible reason is wrong installation of Ape. Do you have any other configuration working? Please provide us with applicationhost.config and the website�s web-config files in order to we could ensure Ape�s installed well.
Thank you.

__________________
Slavik Shynkarenko,
Helicon Tech.
Back to Top View Vyacheslav's Profile Search for other posts by Vyacheslav Visit Vyacheslav's Homepage
 
Dave-W
Groupie
Groupie


Joined: 09 December 2009
Location: United Kingdom
Online Status: Offline
Posts: 43
Posted: 22 February 2010 at 6:11am | IP Logged Quote Dave-W

I have sent these details to support@helicontech.com now
Back to Top View Dave-W's Profile Search for other posts by Dave-W
 
Dave-W
Groupie
Groupie


Joined: 09 December 2009
Location: United Kingdom
Online Status: Offline
Posts: 43
Posted: 22 February 2010 at 12:16pm | IP Logged Quote Dave-W

just looked at at the error.log and got this
===========
[2/22/2010 5:37:48 PM] ConfigLoader B:\Program Files (x86)\Helicon\Ape\httpd.conf(17): Invalid command 'RewriteLogLevel 9' on line 17, perhaps misspelled or defined by a module not included in the server configuration
[2/22/2010 5:37:51 PM] ConfigLoader B:\Program Files (x86)\Helicon\Ape\httpd.conf(17): Invalid command 'RewriteLogLevel 9' on line 17, perhaps misspelled or defined by a module not included in the server configuration
[2/22/2010 5:39:31 PM] ConfigLoader B:\Program Files (x86)\Helicon\Ape\httpd.conf(17): Invalid command 'RewriteLogLevel 9' on line 17, perhaps misspelled or defined by a module not included in the server configuration

As this is a new server then we do not have any other configuration working and the files you mentioned above are read/write.



Edited by Dave-W - 22 February 2010 at 12:35pm
Back to Top View Dave-W's Profile Search for other posts by Dave-W
 
Vyacheslav
Admin Group
Admin Group


Joined: 02 July 2008
Location: Ukraine
Online Status: Offline
Posts: 1535
Posted: 23 February 2010 at 8:12am | IP Logged Quote Vyacheslav

Hello,
Thank you for the applicationHost.config as well as these error.log records.
It seems Ape was set properly and is working well. Please try and move RewriteLogLevel 9 right after LoadModule directives. It will make the rewrite.log filled with mod_rewrite log records. Those maybe useful to find the reason of the issue. Please provide us with rewrite.log records.
Thank you.

__________________
Slavik Shynkarenko,
Helicon Tech.
Back to Top View Vyacheslav's Profile Search for other posts by Vyacheslav Visit Vyacheslav's Homepage
 
Dave-W
Groupie
Groupie


Joined: 09 December 2009
Location: United Kingdom
Online Status: Offline
Posts: 43
Posted: 23 February 2010 at 8:57am | IP Logged Quote Dave-W

The only errors we are getting is like the ones above, there has been nothing else in the rewrite.log.

Thanks
Dave
Back to Top View Dave-W's Profile Search for other posts by Dave-W
 
Vyacheslav
Admin Group
Admin Group


Joined: 02 July 2008
Location: Ukraine
Online Status: Offline
Posts: 1535
Posted: 24 February 2010 at 4:12am | IP Logged Quote Vyacheslav

Hello,
Please run Helicon Ape Manager, select menu Help → License manager. If you have full purchased license, make sure it was applied well. If you chose free mode, please make sure you have specified which websites should be served.

In case the suggestions above don�t make any difference, we would like to take a look on your system through remote desktop connection or arrange a live meeting where we could see your desktop.

Thank you for your patience.

__________________
Slavik Shynkarenko,
Helicon Tech.
Back to Top View Vyacheslav's Profile Search for other posts by Vyacheslav Visit Vyacheslav's Homepage
 
Dave-W
Groupie
Groupie


Joined: 09 December 2009
Location: United Kingdom
Online Status: Offline
Posts: 43
Posted: 24 February 2010 at 4:47am | IP Logged Quote Dave-W

I have sent an email to support with the details you required.

thanks
Dave
Back to Top View Dave-W's Profile Search for other posts by Dave-W
 
Dave-W
Groupie
Groupie


Joined: 09 December 2009
Location: United Kingdom
Online Status: Offline
Posts: 43
Posted: 24 February 2010 at 4:49am | IP Logged Quote Dave-W

there are some results coming through in the rewrite.log, if you have a look there is alot there.

thanks
Dave
Back to Top View Dave-W's Profile Search for other posts by Dave-W
 
Vyacheslav
Admin Group
Admin Group


Joined: 02 July 2008
Location: Ukraine
Online Status: Offline
Posts: 1535
Posted: 24 February 2010 at 5:14am | IP Logged Quote Vyacheslav

Hello,
Yes, I�ve got your email but was unable to connect. Please make sure the credentials are correct and remote access is allowed.
Thank you.

__________________
Slavik Shynkarenko,
Helicon Tech.
Back to Top View Vyacheslav's Profile Search for other posts by Vyacheslav Visit Vyacheslav'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