search for: scriptalia

Displaying 20 results from an estimated 39 matches for "scriptalia".

Did you mean: scriptalias
2007 Feb 18
1
FastCGI without ScriptAlias
..., my index.fcgi file contains the following: require ''camping/fastcgi'' Camping::Models::Base.establish_connection( :adapter => ''sqlite3'', :database => ''database/camping.db'' ) Camping::FastCGI.serve(''blog.rb'') Without ScriptAlias the application works fine, but only if I give the url with "index.fcgi/" at the end (http://localhost/~gimb/camping/index.fcgi/). Loading http://localhost/~gimb/camping/ or http://localhost/~gimb/camping/index.fcgi (no slash at the end) gives an error: ./lib/camping/fastcgi.rb:180...
2005 Jul 12
4
Cetos 4 with Secure Linux - Apache perl problems...
...t; output. I gave the file 777 and 755 rights (neither worked) and even gave apache ownership (apache:apache owns the file). Still get 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
2006 Jul 25
3
+ camping 1.4.140 -- apache+fastcgi, lighttpd+fastcgi
...eb framework just use SCRIPT_NAME everytime lighttpd is found (see: Jifty, Catalyst.) I don''t want to do that, it''s unpredictable. Mount at "" and use FORCE_ROOT. DO NOT MOUNT AT "/". == Mounting Root for Apache2+FastCGI == AddHandler fastcgi-script rb ScriptAlias / /usr/local/www/data/examples.rb/ This is if mod_fastcgi is loaded. I haven''t figured out mod_fcgid yet. == Mounting Subdirectory for Lighttpd+FastCGI == server.port = 3045 server.bind = "192.168.0.103" server.modules = ( &...
2008 Oct 31
3
OT: SA/Apache "Best Practice"?
...achine (RHEL5.2) that they are developing on that will become a production box. They have sudo access to manage mysql functions as well as the apache server. They have asked, that we change the default directory permission/ownership of /var/www/html,cgi-bin, instead of using the Documentroot and ScriptAlias parameters in the apache configuration. drwxr-xr-x 2 root root 4096 Jan 11 2008 /var/www/cgi-bin drwxr-xr-x 2 root root 4096 Jan 11 2008 /var/www/html to drwxrwxr-x 2 root user 4096 Jan 11 2008 /var/www/cgi-bin drwxrwxr-x 2 root user 4096 Jan 11 2008 /var/www/html We have explained that i...
2008 Jul 24
2
Nut-cgi error
...INSTALL.html I have the nut-cgi 2.0.3-4 from the ubuntu repos installed Now, I have problems to configure the nut-cgi in my web browser and I have this when i tried to http://localhost/cgi-bin/nut/upsstats.cgi. Error: can't open hosts.conf I added to /etc/apache2/sites-available/default : ScriptAlias /nut /usr/lib/cgi-bin/nut <Directory "/usr/lib/cgi-bin/nut"> AllowOverride Limit Options +ExecCGI Order allow,deny Allow from all </Directory> ls -l /etc/nut : -rw-r--r-- 1 root root 1104 2008-0...
2007 Mar 28
3
Camping on Dreamhost - Please Help!
Dan did you get camping running on dreamhost already?? i?m trying to run it also but i haven''t succeed yet. it runs on command line but when i add the rewrite rules on .htaccess i get a internal server error. I emailed support to ask about ScriptAlias and they say they cannot change or add that to apache conf. -- Andr? G. Cardozo
2023 Jun 14
1
Accessing: upsstats.cgi Error: no hosts to monitor (check hosts.conf)
...something I?m missing that isn?t > getting updated when I do the make install? I would not expect that to adjust apache configs. > Upsstats.cgi and the others are located in the cgi-bin/nut/ folder. generally one needs a config stanza that says for this web path execute this binary. Both ScriptAlias and Directory. > I can get to http://192.168.123.49/ and the Apache page loads. > > Any suggestions? Read the apache manual about to configure cgi. (I'm actually serious.) I don't see any example config files in the sources.
2011 Oct 27
1
Apache conf.d file for omega?
...ot. For a conf.d file the equivalent would be an Alias directive but aliasing / would not be sane. Is there any way to tell omega to look for the files somewhere else? Here's the attempt at a conf.d file: Redirect "/search" "/cgi-bin/omega/omega?DB=docoll&FMT=docoll" ScriptAlias "/cgi-bin/omega" "/etc/opt/docoll/live" <DirectoryMatch /etc/opt/docoll/live> Alias "/" "/srv/docoll" <Directory "/srv/docoll"> AllowOverride None Options All Order Allow,Deny Allow from all &...
2008 Oct 17
3
CGI configuration - second post
This is my second request for help with this problem. I have followed the suggestions given the first time and made some progress but I still have one final problem/question. I have two CGI scripts that don't work. One is the standard Set-Cookie, examples can be found all over the net, that sets a cookie and prints "Your cookie name is set." The other is an automatic
2010 Apr 24
5
About your application's environment URL not found
.../> 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,deny Allow from all </Directory> ErrorLog /var/log/apache2/error.log # Possible values include: debug, info,...
2007 Sep 23
12
Next camping release
Dear camping users, having been contacted by Julian Tarkhanov, I am willing to prepare the next camping release. _why has given me his friendly approval, with the reserve that camping.rb should be lower than 4k. He also told me that he wanted to remove the ActiveSupport and Markaby dependencies. I am writing here to get the users input so that I don''t do any mistake. So far, my plans
2019 Apr 08
1
Question about replacing the web interface with an audio stream
...<VirtualHost *:80> ServerName example.com ServerAdmin webmaster at localhost DocumentRoot /var/www/html LimitRequestLine 10000000 ErrorLog ${APACHE_LOG_DIR}/error.log CustomLog ${APACHE_LOG_DIR}/access.log combined Include conf-available/serve-cgi-bin.conf ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/ <Directory "/usr/lib/cgi-bin"> AllowOverride None Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch Require all granted </Directory> ProxyPreserveHost On ProxyPass /jakemusic http://localhost:8000/jake-rad...
2005 Aug 22
0
Re: preview of NUT CGI enhancements
...ath in the html files according to the configure options... But I don't know yet how I'll do it! If you have an idea! We have to extract the cgi root from the --with-cgipath option, ie having configured nut with: --with-cgipath=/usr/lib/cgi-bin/nut and the following in apache configuration: ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/ gives the following path: /cgi-bin/nut in the html files. The problem is: from which site will we extract this param, if multi sites are available? For the moment, I'm thinking of a separate configure option ("--with-cgi-html-path") Finally note that the...
2008 Apr 24
0
.htaccess for script aliased directories
...t a prompt for www.mydomain.com/awstats when I place the .htaccess in awstats. I am using the below script alias in the virtual domain conf.d file for this site the awstats directory is located in, so that awstats can generate the log file stats and alias them to the awstats dir which is empty: ScriptAlias /awstats/ "/usr/local/awstats/wwwroot/cgi-bin/ I?m assuming that?s why I can?t get a login prompt ? any suggestions as to how to protect the awstats dir with .htaccess for a script alias?ed directory? The .htaccess file which I was using and works fine for the main www dir is: AuthName ?/...
2010 Oct 05
0
Ruby with apache ActionController::RoutingError (No route matches "/"):
...inks AllowOverride None </Directory> <Directory /var/www/> Options Indexes FollowSymLinks MultiViews AllowOverride None Order allow,deny allow from all </Directory> ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/ <Directory "/usr/lib/cgi-bin"> AllowOverride None Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch Order allow,deny Allow from all </Directory> ErrorLog /var...
2014 Oct 22
0
config file locations
On Tuesday 21 October 2014 22:06:48 Charles Lepple did opine And Gene did reply: > Hi Gene, > > On Oct 21, 2014, at 9:12 PM, Gene Heskett <gheskett at wdtv.com> wrote: > >> configure: error: libgd not found, required for CGI build > >> > >> And gdlib does not appear to be available from the repo's. > > Sorry, I must have missed that message.
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 Apr 28
0
Re: Recognition failed for "/dispatch.cgi"
The problem turned out to be fairly simple. The main problem: Apache handles the ScriptAlias directories so that all files are "executed" rather than served. I''m assuming also that Apache doesn''t bother looking at the .htaccess files therein, either. So instead, I had ''rails'' put everything into my web document area. The path issue seems t...
2023 Jun 14
1
Accessing: upsstats.cgi Error: no hosts to monitor (check hosts.conf)
For some reason I?m no longer able to access the upsstats.cgi (http://192.168.123.49/cgi-bin/nut/upsstats.cgi) I get the error: Error: no hosts to monitor (check hosts.conf) When Apache starts is complains about not finding the fully qualified domain name. In the past, upsstats.cgi would just load. I didn?t have to do any Apache2 configuration. I don?t know what has changed. I?ve build NUT
2023 Jun 14
1
Accessing: upsstats.cgi Error: no hosts to monitor (check hosts.conf)
...; > getting updated when I do the make install? > > I would not expect that to adjust apache configs. > > > Upsstats.cgi and the others are located in the cgi-bin/nut/ folder. > > generally one needs a config stanza that says for this web path execute > this binary. Both ScriptAlias and Directory. > > > I can get to http://192.168.123.49/ and the Apache page loads. > > > > Any suggestions? > > Read the apache manual about to configure cgi. (I'm actually serious.) > > I don't see any example config files in the sources. > > >...