Developer forum

Forum » Development » Running aspx pages from the Custommodules Folder

Running aspx pages from the Custommodules Folder


Reply

If I try to call an imageupload script from my fck editor which is placed in /CustomModules/[Modulename]/Imageupload.aspx the page just redirects to http://127.0.0.1/Admin/access/default.aspx.

 

I have only tried this locally but assume the same thing would happen online.

 

Is there a restriction on running Server scripts from the custommodulers folder from DW's end or am I doing something wrong?

 

kind regards Sune


Replies

 
Nicolai Høeg Pedersen
Reply
sune@fonqi.dk wrote:

If I try to call an imageupload script from my fck editor which is placed in /CustomModules/[Modulename]/Imageupload.aspx the page just redirects to http://127.0.0.1/Admin/access/default.aspx.

 

I have only tried this locally but assume the same thing would happen online.

 

Is there a restriction on running Server scripts from the custommodulers folder from DW's end or am I doing something wrong?

 

kind regards Sune


Every .NET page or handler found in /Admin or /CustomModules (except /Admin/Public) is handled by Dynamicweb login. So if you are not logged in to the administration, you are not allowed to run the file/handler.

 

So the .aspx has to be located in a different folder, either in the root /Imageupload.aspx or any other subfolder.

 

You must be logged in to post in the forum