Displaying 20 results from an estimated 10000 matches similar to: "How to raise a 403 error?"
2006 Jan 14
3
link_to_remote where the url contain a javascript variable
Ok, so I am basically trying to use ''link_to_remote'' and pass the value
of a javascript variable as an argument. Something like that:
link_to_remote "my_link",
:update => ''my_div'',
:url => { :action => "my_action", :var =>
''my_var'' }
Basically,
2007 Nov 16
3
Route Information
Is there a method to return a hash of the route configuration based on
a path?
For example:
magic_method(''/my_controller/my_action/my_id'')
=>
{:controller => ''my_controller'', :action => ''my_action'', :id =>
''my_id''}
Thanks!
Tom
--~--~---------~--~----~------------~-------~--~----~
You received this message
2008 Feb 02
3
Question abt redirect_to..
I found a reference to using attachment_fu and followed the lead of it
but having an issue with the redirect_to that renders the fb:render
tag - In my form I''m setting the canvas to false, file is being
uploaded / save fine but when I attempt to redirect:
redirect_to :action => :new, :canvas => true
Unfortunatly it looks like my callback URL is getting printed twice, e.g.
puppet master REST API returns 403 when running under passenger works when running from command line
2012 Dec 10
2
puppet master REST API returns 403 when running under passenger works when running from command line
Hi! Everyone,
puppet agent is not able to fetch any files, plugins or post catalog,
reports to the master. both puppet agent and master are on version 3.0.l,
passenger version 3.0.18 ,
nginx version: nginx/1.3.9
built by gcc 4.4.6 20120305 (Red Hat 4.4.6-4) (GCC)
TLS SNI support enabled
configure arguments: --prefix=/apps/nginx
--conf-path=/apps/nginx/nginx.conf
2006 May 09
1
Reusing a model to form and link_to.
Hy guys,
Inside my app I have a form which contains user information.
Sometimes a have a form with a text_field as above:
<%= form_remote_tag(:html => { :action => url_for(:controller =>
"my_controller", :action => "my_action") }) %>
<%= text_field(''my_object'', ''my_parameter'', :maxlength =>
2001 Feb 18
3
PATCH: Round 2: RH initscripts backward compatibility
I've cleaned up Pekka Savola's newly revised sshd.init and additional
sshd-functions and modified them to work they way i've been arguing
they should work.
Compatibility functions are defined in ./contrib/redhat/sshd-functions,
which should get installed no matter what release of Red Hat Linux
OpenSSH is getting built for, to be consistent across releases.
Specific changes from
2005 Jun 21
2
403 forbidden on SIP register
I'm getting 403 forbidden errors when attempting to register to a
certain provider. I've tried just about every combination of
configuration settings I can think of with no luck. Following is what
I would think should work (and one of the settings I have tried).
Rather then list every combinaton I've tried, what are the common
causes of a 403 forbidden on a register attempt?
Other
2005 Oct 25
2
apache 403 forbidden problem.
Hi guys,
I'm using Centos 3.5 with Apache-2.0.46. i linke my mrtg from /var/www/mrtg
to /var/www/html/mrtg so i did the command ln -s /var/www/mrtg. it worked
fine last week but when i checked the mrtg today it say 403 forbidden.
Forbidden
You don't have permission to access /mrtg/ on this server.
------------------------------
Apache/2.0.46 (CentOS) Server
but when i tried to link
2017 Jan 06
8
[PATCH 0/5] Allow multiple targets to be disabled
Hi,
This patchet allows a few targets to be disabled when unrequired.
The rational is coming from VLC's contrib buildsystem, so far we use make -C to select only some subparts of the available targets.
It would be easier and cleaner to use autoconf to do so IMHO.
There's an additional patch which fixes the build when building for WinRT/UWP platform, upstreamed from VLC.
We have a couple
2017 Jan 23
1
nfs-ganesha rsa.pub download give 403
Hello,
It seems there is some rights problem with https://download.gluster.org/pub/gluster/glusterfs/nfs-ganesha/rsa.pub <https://download.gluster.org/pub/gluster/glusterfs/nfs-ganesha/rsa.pub> :
wget -O /dev/null https://download.gluster.org/pub/gluster/glusterfs/nfs-ganesha/rsa.pub <https://download.gluster.org/pub/gluster/glusterfs/nfs-ganesha/rsa.pub>
--2017-01-23 19:28:47--
2003 Aug 18
3
403 FORBIDDEN Help!
Hello,
I have a question.
I set up an extension to 1234
exten => 1234,1,Dial(SIP/1234@sip.greentone.com:5060)
And when I dial that extension I got in SIP message "403 FORBIDDEN"
Can somebody tell me why I cannot call that extension? When I am not using Asterisk I can call that extension without any problems.
My SIP proxy is VOCAL.
I am new here so I do not know a lot yet.
Thank
2005 Jul 06
1
SIP/2.0 403 Forbidden
Hi all,
I have been worriyng and googling a lot but I can't find my mistake.
I am trying to regiter an X-Lite Softphone to Asterisk, but
I am getting a SIP/2.0 403 Forbidden response:
SEND TIME: 10157385
SEND >> 10.100.249.12:5060
REGISTER sip:10.100.249.12 SIP/2.0
Via: SIP/2.0/UDP
10.100.249.86:5060;rport;branch=z9hG4bKFAC1B6F2B5414EE9855696A09A83FB22
From: Tester
2007 Feb 21
6
Problem with url_for and https - overrides all options
I have a piece of code like this in one of my views:
<%=link_to "link here", :action=>''my_action'', :id=>1 %>
It works fine on my local development machine, running Webrick over http
and it works fine on my testing server which is running single mongrel
instance behind Apache 1.3 as a proxy. On both the outcome link is this:
<a
2005 Oct 16
13
More than one parameter with link_to_remote
Hi all,
I''m trying to pass more than one parameters using link_to_remote, but I''m
getting a behaviour that seems quite strange to me. Here''s the code:
link_to_remote ''some text'',
:update => ''form'',
:method => ''get'',
:url => { :action =>
2010 Oct 21
4
Authlogic + Rails3 - undefined method `Login' for nil:NilClass
Im new to Rails, and decided to start of with Rails3. After a lot of
searching ive managed to get a little bit of Authlogic working. I''m able
to register a user, login & logout.
Now, I would like to add more features, get more of authlogic working.
I''m using Railscast EP 160 as my reference.
Portions of the code found on the tutorial throw errors: Eg:
<!--
2011 Oct 07
1
403 Error Dont know whats wrong.
Hi,
I am quite new to ruby and am programming an application to send sms
using rest_client gem. I so far have code on one of my modules which
tries to send an sms to a number. It gives the 403 error -
RestClient::Forbidden in SMSController#index
403 Forbidden
Rails.root: /Users/user1/Desktop/rails_projects/sms_app
My code in the module looks as follows - before adding this code i had a
simple
2006 Mar 27
2
403 Forbidden Error
I''m getting a 403 Forbidden error when I try to access the rails welcome
page.
I''ve followed the instructions for implementing rails on Apache2 at
http://wiki.rubyonrails.org/rails/pages/Tutorial using an alias, but
isn''t working.
Can anyone help me out?
Thanks.
-Ofir
--
Posted via http://www.ruby-forum.com/.
2010 Jan 31
3
Append/Prepend to a template from controller method
I want a method in app/controllers/application.rb that can
prepend/append text to whatever template gets rendered. Of course I
can''t call render twice w/o getting a double render error, so is this
possible?
I want to redirect after a delay using a meta refresh. Here''s what I''ve
got:
app/controllers/application_controller.rb:
def redirect_after_delay (url, delay)
2004 Jun 02
2
"403 Forbidden" between two softphones on same Asterisk
Hi,
I have two softphones connected to an Asterisk "stable". I have two
extensions, say 1000 and 2000. When 1000 calls 2000, the call cannot be
completed; the softphone (either Diax97a , SJphone, Firefly 1.8) on
extension 2000 will ring, but as soon as the call is picked up, extension
2000 will hang up the call.
The softphone on 1000 (SIP, SJphone, e.g.) will give a "403
2005 Feb 03
1
403 Forbidden when registering sip user database on backend
i am getting 403 Forbidden message from asterisk when
it try to register my user agent. i am basically
useing mysql through ODBC. i hvae checked ODBC
connecteion with
'ODBC Show' command.
------------------------------------------------------
*CLI> odbc show
Name: mysql1
DSN: asteriskdsn
Connected: yes
*CLI>
------------------------------------------------------
and user is added to