homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Code, Content, and Presentation / Apache Web Server
Forum Library, Charter, Moderators: Ocean10000 & incrediBILL & phranque

Apache Web Server Forum

execute any file when accessing files on server

 10:55 am on Dec 12, 2006 (gmt 0)

Hi to all,

i need to execute any type of file with some commands in it when accessing files on server.

suppose, if i access one folder named 'temp' on my server, then the file which i want to execute should be run first.

anyone knows this stuff then pls help me ASAP




 3:17 pm on Dec 12, 2006 (gmt 0)

Several of the the techniques described in this recent thread [webmasterworld.com] are applicable here.



 9:56 pm on Dec 12, 2006 (gmt 0)

Another way to accomplish 'essentially the same effect' is to rewrite everything to /the-file-to-execute.ext and 'include' the 'correct page', based on the 'request_uri', after the execution of the script.


Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / Apache Web Server
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved