10-13-2010
I know, I know. I've been studying it for years now... !
My off-site clients are getting errors:
"GET /wiki HTTP/1.1" 301 235
"GET /wiki/ HTTP/1.1" 302 231
I'm back on this tonight.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,
I have the following simple CGI script, just containg header:
#!/usr/bin/perl -w
use CGI ':standard';
use lib "/home/myname/lib/perl5/site_perl/5.8.5/";
use Mail::Sendmail;
I also have included this directive in ~/public_html/.htaccess :
SetEnv PERL5LIB... (0 Replies)
Discussion started by: monkfan
0 Replies
2. HP-UX
I have two servers running apache server, namely server A and B.
All users access server A, but for some application, I would like to redirect the request to server B.
I have set apache redirect in server A apache config file.
Redirect /application http://serverB/application
Now, the flow... (2 Replies)
Discussion started by: alfredo
2 Replies
3. Web Development
Hello.
I have scenario where a Client send request to Server1.
Server1 send request to Server2.
Request are xmlHTTPRequest - need to get data (XML) from Server2 back to client.
Trying to use APACHE proxy...
Anyone can help?
What to download / configure / ...?
Thank you for your... (2 Replies)
Discussion started by: ampo
2 Replies
4. Web Development
Hi,
everything is working perfectly. I have one more question.
Is it possible to specify a file instead of a directory in DocumentRoot ? (see phpinfo.php in the example).
Is it a correct procedure ?
<VirtualHost www.patrick.dev:80>
ServerAdmin patrick.diviacco@gmail.com
... (1 Reply)
Discussion started by: aneuryzma
1 Replies
5. UNIX for Dummies Questions & Answers
What is the command to see what httpd.conf file is apache using. Apache is started. (1 Reply)
Discussion started by: galford
1 Replies
6. Web Development
i read thru a few article how to do it, but i could not get it to work the way i want it.
vi ../httpd.conf
Redirect permanent /dev https://servername/portal/
when i type servername, works fine.
my goal is to type dev, and it takes me to https://servername/portal/ (4 Replies)
Discussion started by: lawsongeek
4 Replies
7. Shell Programming and Scripting
Hi,
I am currently redirecting all mobile devices to my mobile site in apache. I need to exempt the following file types from redirecting even if the request is made from a mobile device.
*.css
*.jpg
*.jpeg
*.gif
*.js
Does anyone know where and what I need to do for this? Thanks in... (1 Reply)
Discussion started by: kmaq7621
1 Replies
8. Web Development
Hi All,
I have my URL as
http://mysite.com/shop/maternity/tops_30116
Now I want to append "?No=0&Nrpp=100" and then redirect to
http://mysite.com/shop/maternity/tops_30116?No=0&Nrpp=100
This is for many URL which have "maternity" inside them.
Can there be a single Redirect... (0 Replies)
Discussion started by: ankur328
0 Replies
9. Web Development
I am a total newbie to Apache. I need to do this only for this weekend during an upgrade from old system to new system
We have different URLs http://domain.name/xxx (xxx varies to any length and words - it can be /home, /login, /home/daily, /daily/report, etc).
How do i redirect all those to... (0 Replies)
Discussion started by: GosarJunk
0 Replies
10. UNIX for Advanced & Expert Users
All,
We have a hosted CentOS 6 VPS server, using CPanel to install/config the domains/subdomains and installed osTicket in:
my.domain.com/tkng/
We are trying to define the following Apache alias:
my.domain.com/tickets
which has to point to:
my.domain.com/tkng/upload/
CPanel... (0 Replies)
Discussion started by: TBotNik
0 Replies
LEARN ABOUT DEBIAN
apache::singleton
Apache::Singleton(3pm) User Contributed Perl Documentation Apache::Singleton(3pm)
NAME
Apache::Singleton - Singleton class for mod_perl
VERSION
version 0.15
SYNOPSIS
package Printer;
# default:
# Request for mod_perl env
# Process for non-mod_perl env
use base qw(Apache::Singleton);
package Printer::PerRequest;
use base qw(Apache::Singleton::Request);
package Printer::PerProcess;
use base qw(Apache::Singleton::Process);
DESCRIPTION
Apache::Singleton works the same as Class::Singleton, but with various object lifetime (scope). See Class::Singleton first.
OBJECT LIFETIME
By inheriting one of the following sublasses of Apache::Singleton, you can change the scope of your object.
Request
use base qw(Apache::Singleton::Request);
One instance for one request. Apache::Singleton will remove instance on each request. Implemented using mod_perl "pnotes" API. In
mod_perl environment (where $ENV{MOD_PERL} is defined), this is the default scope, so inheriting from Apache::Singleton would do the
same effect.
NOTE: You need "PerlOptions +GlobalRequest" in your apache configuration in order to use the Request lifetime method.
Process
use base qw(Apache::Singleton::Process);
One instance for one httpd process. Implemented using package global. In non-mod_perl environment, this is the default scope, and you
may notice this is the same beaviour with Class::Singleton ;)
So you can use this module safely under non-mod_perl environment.
CREDITS
Original idea by Matt Sergeant <matt@sergeant.org> and Perrin Harkins <perrin@elem.com>.
Initial implementation and versions 0.01 to 0.07 by Tatsuhiko Miyagawa <miyagawa@bulknews.net>.
SEE ALSO
Apache::Singleton::Request, Apache::Singleton::Process, Class::Singleton
SOURCE
The development version is on github at http://github.com/mschout/apache-singleton <http://github.com/mschout/apache-singleton> and may be
cloned from git://github.com/mschout/apache-singleton.git <git://github.com/mschout/apache-singleton.git>
BUGS
Please report any bugs or feature requests to bug-apache-singleton@rt.cpan.org or through the web interface at:
http://rt.cpan.org/Public/Dist/Display.html?Name=Apache-Singleton
AUTHOR
Michael Schout <mschout@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2009 by Michael Schout.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
perl v5.14.2 2012-04-02 Apache::Singleton(3pm)