Custom Block Pages - With contact form

rated by 0 users
Answered (Not Verified) This post has 0 verified answers | 4 Replies | 2 Followers

Not Ranked
2 Posts
paul_beynon posted on 8 Jul 2010 12:54 AM

Can anyone tell me whether it is possible to create a custom block page with a contact form for internal users to use. I have managed to create the form with fields such as Name, Tel, Supervisor, Web Page, Reason to Unblock, but when I try to submit (both PHP and ASP forms) it returns a page cannot be found error. Any help on this would be really great. I have the system installed on a Windows Server 2003 system with ISA, running Apache server and PHP (have also tried IIS with PHP) Many Thanks Paul

All Replies

Top 25 Contributor
171 Posts
Moderator

Hi,

You may find the following article useful.

4198: v7.x: Creating custom block pages

http://www.websense.com/support/article/t-kbarticle/v7-Creating-custom-block-pages-1258048489624 

|
Top 50 Contributor
85 Posts

Wouldn't mind a copy of this mate if you ever get it working, all I've got working so far (very basic html knowledge) is a link to click which imports the blocked url into an email

|
Not Ranked
2 Posts

Hi There,

All I have managed to get so far on the custom page is a comany logo with the same as you (egroover) just a mailto link with the URL embedded into it. From what I have found both from Websense themselves and from online searches is that forms are not possible, Websense doesn't allow the use of PHP or ASP through the block pages. The only thing I haven't tried it to put an IFrame in to another webserver, or even just another website on the same server, but I don't think I would be able to pass the URL through to it!! If I find anything more out, I shall indeed post it back here!! Likewise, if you ever come across anything, let me know!!

Thanks

Paul Beynon

|
Top 500 Contributor
9 Posts

I wonder if it would be possible to generate a link to a asp or php form and pass a URL parameter generated by the standard websense tokens? EG generate a URL with html along with a URL variable populated by the token *WS_URL*.

So you would end up with code like: <a href="myformserver.mydomain.com/myform.asp?url=*WS_URL*">Submit to the helpdesk for review</a>

Jason

|
Page 1 of 1 (5 items)