Displaying 20 results from an estimated 142 matches for "execcgi".
2006 Feb 01
3
Configure Apache 2.0.55 and FastCGI
...-------------------
LoadModule fastcgi_module modules/mod_fastcgi.dll
...
Alias /fatturails/ "C:/Programmi/Apache
Group/Apache2/htdocs/fatturails/public/"
<Directory "C:/Programmi/Apache Group/Apache2/htdocs/fatturails/public">
AddHandler fastcgi-script .fcgi
Options +ExecCGI
AllowOverride All
Allow from all
Order Allow,deny
</Directory>
FastCgiServer "C:/Programmi/Apache
Group/Apache2/htdocs/fatturails/public/dispatch.fcgi" -processes 1
-------------------------
Then in my .htaccess i have this code
-------------------------
# General Apache opt...
2006 Apr 14
3
Rails deployment
Hi all,
I''ve greated a rails application and i want to deploy it right now.
I have to use a windows 2003 server.. So i installed
i''ve used the following tutorial:
http://wiki.rubyonrails.com/rails/pages/RailsOnWindows
My application is running at : http://loc.iwsweb.nl
But everytime i connect it opens a ruby process but at the end it won''t
kill it.
As you can see
2006 Jan 06
3
fastcgi on apache
...than
apache seems to be.
How do I get fastcgi stuff to work on apache...
I have this setup for my tutorial environment in httpd.conf
<VirtualHost *>
DocumentRoot /home/craig/cookbook/public
ServerName cookbook
<Directory "/home/craig/cookbook/public">
Options ExecCGI FollowSymLinks
AllowOverride all
allow from all
</Directory>
</VirtualHost>
and it''s considerably slower than the lighttpd server.
Thanks
Craig
2006 Jun 22
9
Again on Apache 2
...# Let Apache handle purely static files like images by itself.
RewriteCond %{REQUEST_FILENAME} !-f
# Send Everything else to Rails
RewriteRule ^(.*)$ dispatch.fcgi [QSA,L]
</Location>
<Directory /home/webmaster/troccoli.it/spagnolo/journal>
# ExecCGI is required for mod_fcgid to work.
Options Indexes FollowSymLinks ExecCGI
# Disable .htaccess files.
AllowOverride None
Order allow,deny
Allow from all
# This tells mod_fcgid to run the dispatch.fcgi script as a
FastCGI
AddHandler fcgid-scrip...
2006 Feb 14
2
apache virtual host
...me the contents of /var/www/html and
not /home/craig/ruby-db/th-db/public
<VirtualHost *>
DocumentRoot "/home/craig/ruby-db/th-db/public"
ServerName app-server.tobyhouse.com
<Directory "/home/craig/ruby-db/th-db/public">
allow from all
Options Indexes ExecCGI FollowSymLinks
ReWriteEngine On
</Directory>
</VirtualHost>
What am I missing?
Thanks
Craig
2006 Aug 16
3
problems with fastcgi, apache2 and debian sarge
...issmoh.de
DocumentRoot /var/www/gissmoh.de/public
CustomLog /var/log/apache2/gissmoh.de/access.log
combined
SetEnv RAILS_ENV production
SuexecUserGroup gissmoh gissmoh
<Directory /var/www/gissmoh.de/public/>
Options ExecCGI FollowSymLinks
AddHandler cgi-script .cgi
AllowOverride all
Order allow,deny
Allow from all
</Directory>
</virtualhost>
production.log:
/log# tail -f production.log
/usr/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib...
2010 Apr 24
5
About your application's environment URL not found
...ault
<VirtualHost *:80>
ServerAdmin webmaster@localhost
DocumentRoot /home/henry/Projects/Project1
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /home/henry/Projects/Project1/>
Options Indexes FollowSymLinks MultiViews ExecCGI
AllowOverride All
Order allow,deny
allow from all
AddHandler cgi-script .cgi
</Directory>
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<Directory "/usr/lib/cgi-bin">
AllowOverride None
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow...
2008 Jul 23
3
Premature end of script headers: dispatch.fcgi
...do -u vu2025..." which is the owner
of all files to make sure the user does have the rights) and it worked!
I tried to access it via browser with Webrick and it also worked so the
Rails application itself is definitely working.
.htaccess:
AddHandler fcgid-script .fcgi
Options +FollowSymLinks +ExecCGI
RewriteRule ^$ index.html [QSA]
RewriteRule ^([^.]+)$ $1.html [QSA]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ dispatch.fcgi [QSA,L]
fcgid.conf:
<IfModule mod_fcgid.c>
SocketPath /var/lib/apache2/fcgid/sock
IdleTimeout 3600
ProcessLifeTime 7200
MaxProcessCount 8
Default...
2006 Jan 03
3
RoR and Apache2 and app in local directory
...cgi on
this server"
I''m guessing it has to do with not having CGI access in the directory,
but I don''t know how to get it set up. I haven''t touched the default
apache2.conf file (I''m not sure what to add), and adding the line:
Options +FollowSymLinks +ExecCGI
to the .htaccess file gives an error (''Options'' is not allowed in the
.htaccess file)
Does anyone have any hints or tips on what I need to change? I''m sure
it''s something in the apache2.conf file (or maybe a file in the
/etc/apache2/sites-available/ director...
2006 Jun 02
4
RoR on Apache not working
...00 seconds
Actually the first 2 lines are from when apache starts.
The settings i''ve added in httpd.conf are:
Alias /clients "D:/work/#htdocs/ruby/clients/public"
<Directory "D:/work/#htdocs/ruby/clients/public">
AddHandler fastcgi-script .fcgi
Options +ExecCGI
AllowOverride all
Allow from all
Order allow,deny
</Directory>
FastCgiServer D:/work/#htdocs/ruby/clients/public/dispatch.fcgi
-processes 1
And public/.htaccess
AddHandler cgi-script .cgi
Options +FollowSymLinks +ExecCGI
RewriteRule ^$ index.html [QSA]
RewriteRule ^([^.]+)$ $...
2006 Feb 01
3
apache2 / fcgi / RoR - no connection
...ack 1
[ ... ]
<Directory /tmp/rubystuff/testapp/public>
RewriteEngine On
RewriteRule ^$ index.html [QSA]
RewriteRule ^([^.]+)$ $1.html [QSA]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ dispatch.fcgi [QSA,L]
Options Indexes +ExecCGI +FollowSymLinks
Order allow,deny
allow from all
</Directory>
and dispatch.fcgi looks like:
#!/usr/bin/ruby
require File.dirname(__FILE__) + "/../config/environment"
require ''fcgi_handler''
RailsFCGIHandler.process!
Any help appreciated,
Ji...
2016 Jun 30
2
samba/winbind/apache/sso question
...e user is authenticated to access the page, but curious on why I can't get SSO to work automatically.
Any help or suggestions would be great!
Thanks!
LoadModule auth_ntlm_winbind_module /usr/lib64/httpd/modules/mod_auth_ntlm_winbind.so
<Directory "/var/www/html/test">
Options ExecCGI
AllowOverride None
Order allow,deny
Allow from all
AuthName "NTLM Authentication"
AuthType NTLM
Require valid-user
NTLMAuth on
NTLMAuthHelper "/usr/bin/ntlm_auth --helper-protocol=squid-2.5-ntlmssp"
NTLMBasicAuthoritative on
NegotiateAuth on
</Directory>
Jonas Turner │ Se...
2005 Jul 12
4
Cetos 4 with Secure Linux - Apache perl problems...
...the Error 500 web page and the
above errors.
So I went further and dug more. In the httpd.conf, I established this:
AddHandler cgi-script .cgi .pl ; set this: ScriptAlias /cgi-bin/
"/var/www/cgi-bin/" ; <Directory "/var/www/cgi-bin">
AllowOverride None
Options ExecCGI
Order allow,deny
Allow from all
</Directory>
Still no luck....
What am I missing?
Thanks.
Scott
2009 Sep 30
17
Apache2.2 + what to get Rails
Me: not experienced with Rails or Ruby,
Problem: Ubuntu 9.04 server in my shop ...couldn''t get Apache2.2 +
Passenger + Rails to work for Redmine. (No answer at Redmine list and
I don''t think its their problem anyway). Also couldn''t get Apache2.2
and just Rails to work, though some people said it would. Webrick
works.
Goal: run Redmine on a server that also runs PHP
2006 Jul 21
1
apache cgi error
...pp gets the request from apache and do
its work, as it runs from WEBrick.
My httpd.conf is
<VirtualHost myservername>
ServerName rails
DocumentRoot /path/to/my/application/public/
ErrorLog /var/log/httpd/rails.log
<Directory /path/to/my/application/public/>
Options ExecCGI FollowSymLinks
AllowOverride all
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
and all necessary modules has been loaded.
Thank you.
--
Posted via http://www.ruby-forum.com/.
2006 Jun 30
1
running in production mode
...itial-env RAILS_ENV=production \
-processes 4 -idle-timeout 180
AddHandler fastcgi-script .fcgi
</IfModule>
..
.
.
.
<VirtualHost 192.168.1.10>
ServerName www.myurl.com
ServerAlias myurl.com
DocumentRoot /app...dir/public/
<Directory /app..dir/public/ >
Options ExecCGI FollowSymLinks
AddHandler cgi-script .cgi
AllowOverride all
Allow from all
Order allow,deny
</Directory>
</VirtualHost>
--
Posted via http://www.ruby-forum.com/.
2006 Jan 03
2
Apache FCGI and rails image issues help
...y way i can c the image other
wise its a routin error any ideaS?
Its sounds like a rooting error i agree no prob this is my apache config
as in the vhost
<VirtualHost *>
ServerName rails
DocumentRoot "c:/rails/wine/"
<Directory "c:/rails/wine/public/">
Options ExecCGI FollowSymLinks
AllowOverride all
Allow from all
Order allow,deny
AddHandler cgi-script .cgi
AddHandler fastcgi-script .fcgi
</Directory>
</VirtualHost>
my app is in a folder C:\rails\wine
i can access it no prob using http://localhost/public/wine/show/1
as in the controll...
2019 Apr 12
1
Cockpit within httpd
...one of the virtual web sites on my server.
I tried as follows for the definition of the virtual server:
<VirtualHost *:80>
ServerName xxx.example.com
ServerAdmin admin_xxx at example.com
DocumentRoot /home/xxx/public_html
Options +ExecCGI +Includes +FollowSymLinks
LogFormat Combined
TransferLog /var/log/httpd/u_xxx_access_log
ErrorLog /var/log/httpd/u_xxx_error_log
RewriteEngine on
ProxyPreserveHost On
RewriteCond %{HTTP:Upgrade} =websocket [NC]
Rewr...
2006 Mar 22
8
Premature end of script headers: dispatch.cgi
Hi
I am running ruby 1.8.4 and rails 1.0.0 with Apache 2. I made a simple
rails application called demo and also created a controller called say
and an action called hello which is working fine using webrick. To run
it under Apache I created a symlink demo1 which is linked to the
demo/public directory. If I run it using www.example.com/demo1 then I
get the "Rails- Welcome Aboard"
2006 Jun 17
1
Having a go at Rpad
Context: FreeBSD 6.1on a pentium 4; apache 2 server up & running; mod_perl
installed; java & php 4 working.
Willing to use Rpad on an office intranet, I installed the Rpad package
(R2HTML was still there) and carefully read the instructions to set up a
server.
Now, on the server I can start the http://localhost/Rpad homepage, I can
click on and browse the three examples