This forum has been moved here:
Helicon Tech Community Forum

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


Joined: 03 June 2009
Posts: 3
Posted: 03 June 2009 at 7:38am  

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
 
Anton
Admin Group


Joined: 30 January 2007
Location: Ukraine
Posts: 10519
Posted: 03 June 2009 at 9:45am  

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

__________________
Regards,
Anton
Back to Top
 
idofei
Newbie


Joined: 03 June 2009
Posts: 3
Posted: 03 June 2009 at 12:25pm  

can you tell me how ?
( planning to do it in asp.net )
Back to Top
 
Anton
Admin Group


Joined: 30 January 2007
Location: Ukraine
Posts: 10519
Posted: 04 June 2009 at 2:52am  

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
 
idofei
Newbie


Joined: 03 June 2009
Posts: 3
Posted: 04 June 2009 at 5:31am  

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
 
Anton
Admin Group


Joined: 30 January 2007
Location: Ukraine
Posts: 10519
Posted: 04 June 2009 at 8:02am  

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
 

Sorry, you can NOT post a reply.
This forum has been locked by a forum administrator.

Printable version Printable version
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