This forum has been moved here:
Helicon Tech Community Forum

  Active TopicsActive Topics  Display List of Forum MembersMemberlist  HelpHelp   RegisterRegister  LoginLogin
Common Questions
 Helicon Tech : Common Questions
Subject Topic: write rules to .htaccess via code? (Topic Closed Topic Closed) Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
idofei
Newbie
Newbie


Joined: 03 June 2009
Online Status: Offline
Posts: 3
Posted: 03 June 2009 at 7:38am | IP Logged  

Is it possible to write rules to .htaccess file not from the editor?

i want to write a page that can add rules to this file and i dont want to enter my server inorder to do that?

Back to Top View idofei's Profile Search for other posts by idofei
 
Anton
Admin Group
Admin Group


Joined: 30 January 2007
Location: Ukraine
Online Status: Offline
Posts: 10520
Posted: 03 June 2009 at 9:45am | IP Logged  

Do you mean you want to edit .htaccess via a script? Yes, it's possible.

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


Joined: 03 June 2009
Online Status: Offline
Posts: 3
Posted: 03 June 2009 at 12:25pm | IP Logged  

can you tell me how ?
( planning to do it in asp.net )
Back to Top View idofei's Profile Search for other posts by idofei
 
Anton
Admin Group
Admin Group


Joined: 30 January 2007
Location: Ukraine
Online Status: Offline
Posts: 10520
Posted: 04 June 2009 at 2:52am | IP Logged  

You may edit it as any other plain text file.
Sorry, but writing asp.net code for you is beyond my competence.

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


Joined: 03 June 2009
Online Status: Offline
Posts: 3
Posted: 04 June 2009 at 5:31am | IP Logged  

thats ok....dont need help to write this code

but when i tried to do it, i got access denied and im sure i gave all the permission i needed to give.

so maybe this file is been locked by something and you can not write to it in that way.

have you even done that?

Back to Top View idofei's Profile Search for other posts by idofei
 
Anton
Admin Group
Admin Group


Joined: 30 January 2007
Location: Ukraine
Online Status: Offline
Posts: 10520
Posted: 04 June 2009 at 8:02am | IP Logged  

ISAPI_Rewrite does not block access to .htaccess files.
Please consider using FileMonitor tool by SysInternals to find out what is blocking access.

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

Sorry, you can NOT post a reply.
This topic is closed.

  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 cannot vote in polls in this forum