Displaying 20 results from an estimated 10000 matches similar to: "OT: Apache Script Problem"
2006 Jan 30
4
dispatch.cgi Problem
Hey all,
I''ve been battling with ruby configurations for days now...trying to get
either SCGI or FCGI to work on my Apache 1.3/Linux Red Hat 3 server.
I''ve pretty much gave up that battle since either of them will work with
me after trying dozens of configurations, but now even when I try to run
apps with dispatch.cgi I get this error in my log: "Premature end of
2007 Feb 22
4
Modifying Apache Conf To Block Leachers
Howdy,
I''m using Apache 2.2 + Mongrel with great success, using the sample
configs from the Mongrel site.
We have some MP3s on the site and recently someone has been stealing
them and basically leaching them from the site, linking to them from
an off-site location.
I''ve been trying to modify my Apache conf to check the referrer and
adjust accordingly as below but no
2008 Jan 23
7
Apache, Mongrel, Authentication
A question about mongrel, apache and authentication.
I''ve got a Rails site with I think a very typical setup: a mongrel
cluster behind an Apache proxy. So Apache''s handling the static stuff
and it hands off dynamic content to mongrel. I want to put the site
temporarily behind Apache''s basic authentication. What I get when I
do this is that is a password prompt which
2009 Nov 06
3
No Such File...
Now that I've got the server serving my python pages, I'm getting this
error:
[Fri Nov 06 11:50:40 2009] [error] [client 66.248.168.98] (2)No such file or
directory: exec of '/var/www/html/angrynates.com/global_solutions/index.py'
failed, referer: http://angrynates.com/global_solutions/
[Fri Nov 06 11:50:40 2009] [error] [client 66.248.168.98] Premature end of
script headers:
2008 Apr 20
2
mod_rails showing plain text instead of actual page
hello!
i got this forum powered by apache and mod_rails
lately when i create / edit posts, i get plain html text showing up
instead of the actual page.
here''s what i see:
--
Content-Type: text/html; charset=utf-8
Set-Cookie:
_mysite_session=BAh7CzoOcmV0dXJuX3RvMDoKdGl0bGV7BmkVdToJVGltZQ2IDhuAK1UeADoL
%250AdG9waWNzewZpBnU7Bw2HDhuA2%252FZJ7zoJdXNlcmkGIgpmbGFzaElDOidBY3Rp
2006 Sep 06
1
31K failed stat64's when viewing a simple (no db) rhtml page?
I''m trying to help the sys admins of my server figure out what is up
with our Rails installation (debian sarge - completely up to date).
Hitting a simple page yields 31,000 failed stat64''s and takes anywhere
from 8 - 44 seconds. They #! for ruby is correct everywhere, but it''s
like it can''t find Rails. These are box stock standard installs.
Here''s
2007 Aug 13
1
Extract part of vector
Dear R-users,
How do I extract numbers between asp?P= and &VID from my txt vector? I have
tried grep function with no luck.
txt <- c("
http://www.mysite.com/system/empty.asp?P=2&VID=default&SID=421384237289476&S=1&C=18631",
"
http://www.mysite.com/system/empty.asp?P=123&VID=default&SID=421384237289476&S=1&C=18643",
"
2009 Mar 08
2
Premature end of script headers error using Rails 2.3.1 and Passenger 2.1.1
I''m getting an HTTP 500 Internal Server Error using the latest beta of
Rails (2.3.1 aka 2.3 RC2) and Passenger (2.1.1) beta under Ubuntu
Intrepid (8.1).
I''ve put the Passenger configuration files into two separate files
under mods-available and I''ve created symbolic links from mods-
enabled. The default way of the Apache configuration under Ubuntu 8.1,
just
2005 Dec 30
2
scgi apache routes help needed
I''m trying to get an application running in a sub directory of a site using
apache and scgi. The application runs fine with webrick.
I have a site. Let''s call it "mysite.org". There is a variety of content on
that site.
I would like to add a rails application to that site. Let''s call the
application "myapp".
So we will have urls of the form
2009 Jul 09
1
Premature end of script headers: upsimage.cgi
hi-
i'm using version 2.4.1, courtesy of debian testing, and noticed that
in the web interface, the image for the battery voltage bar graph
wasn't displaying. the other images (change, input, output, load)
seem to be fine. the browser reports "500 internal server error", and
apache reports "Premature end of script headers: upsimage.cgi,
referer:
2007 Nov 27
1
routing
Hi all,
My site uses subdomains to define an item. Eg http://itemname.mysite.com
I fetch the itemname and render the appropriate site from that
itemname. The subdomain is used everywhere (eg http://itemname.mysite.com/events,
http://itemname.mysite.com/products/show/11, ...)
I now want to give the user the possibilty to use a ''real'' domain like
www.itemname.com that should
2007 Feb 09
3
Re: URL issues
hello...
On 2/8/07, cdvr <codecraig-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
>
> Hi,
> I watched the rails screencast on creating a blog in 15 minutes.
> I followed along got it working on my home PC and I then uploaded it
> to my web host. So I have,
>
> /home/<username>/blog
>
> I had to change some config in the blog app (i.e. production
2005 Nov 22
4
multiple rails apps on one lighttpd
Good evening (or afternoon or whatever it is where you are),
Before I start setting it all up, I have a question about lighttpd and
multiple rails apps. From what I have read, it is at the minute only
possible to do multiple rails apps using subdomains:
typo.mysite.com
hieraki.mysite.com
rforum.mysite.com
etc, etc
and not currently possible to do this:
mysite.com/typo
mysite.com/rforums
2006 Aug 16
3
Validate your forms with a table-less model
Ive followed this example of how to validate a form with a tableless
model:
http://rails.techno-weenie.net/tip/2005/11/19/validate_your_forms_with_a_table_less_model
Ive got this example working but when validation fails the failed boxes
are not highlighted in red. At the moment i have a contact details form
and want to validate the information entered by the user but this will
just result
2013 Feb 22
1
Variables within Manifests question
Hello all
Can someone please help me or answer if this is possible
I''m using the puppet forge IIS module, and want to use variables within the
syntax dependent up ip address
for example:
colo_a = 1.1.1.0
colo_b = 2.2.2.0
if $network_local_area_connection = 1.1.1.0
add colo_a
elseif $network_local_area_connection = 2.2.2.0
add colo_b
iis_site {''mysite.co.uk'':
2004 Nov 03
1
File case sensitivity
Hi;
I've run into a somewhat interesting issue in regards to IIS serving
content from a samba share. Occasionly, IIS will return 404 errors for
content that does infact exist.
>From the samba machine, I captured the following:
This is an example of the site http://www.mysite.co.nz/foo not working:
[2004/11/04 09:30:14, 3] smbd/trans2.c:call_trans2qfilepathinfo(2353)
2014 May 21
2
Icecast2, ezstream and reverse proxy
Hello
Ezstream is working well locally with Icecast2 on port 8000 on a Debian Wheezy platform. However, I use a reverse proxy (Pound) to pass all requests from the Internet for x.mysite.com to backend localhost:8000 i.e. my Icecast2 server. This works fine, i.e. x.mysite.com brings up the Icecast2 Status page. My problem is with the ezstream xml configuration <url></url> setting which
2006 Feb 01
2
Getting Started with Site Redesign and RoR
Hello all:
I am in the process of redesigning my site and was thinking about
incorporating RoR into the overall structure. However, there are
multiple things I would like to create with Rails, namely a gallery, a
weblog, and portfolio management system. Given that I am going to be
using a lot of RoR, what is the best way to accomplish this task? Here
are some random things that have come
2006 Apr 10
1
routing
I have this in my routes.rb:
...
map.connect ":action/:id", :controller => "default_controller"
..
It worked nicely, until I added a second controller to my project. The
new (second) controller is "Admin".
The problem is I cant reach the actions in the second controller.
http://mysite.com/some_action is routed to some_action in
default_controller. That is
2006 Jun 22
2
[PLUGIN] url_for_with_prefix - allowing you to modify/remove prefixes easily
Here''s the readme. I think it''s okay to post this kind of thing to
the mailing list. Anyway, hopefully someone else finds this useful.
UrlForWithPrefix
================
By Pat Maddox
Very simple plugin, adds the :prefix option to url_for.
Say in your environment.rb file you''ve got
ActionController::AbstractRequest.relative_url_root = "/super"
Any time