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 ?
thanks
Last edited by aneuryzma; 05-22-2009 at 05:31 AM..
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)
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 help. (1 Reply)
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)
Hi guys, I've been trying to figure this out all day however havent managed to as of yet.
I have a server called netmon (network monitoring) which runs a multitude of programs to monitor the network.
I also have a cname pointing to netmon called smokeping.
At the moment to access smokeping... (0 Replies)
Hi,
I'm running both mail (webmail port = 8080) and web (http = 80) on same box. i am able to redirect as below without any problem.
From: http://mail.abc.com
To: http://www.abc.com:8080
I did the above with a simple virtualhost and redirect directive.
But my requirement is to have same... (1 Reply)
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)
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)
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)
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)
hi
what is the meaning of the below code, please explain in details
RewriteRule '^/(.*)$1$2/?' (1 Reply)
Discussion started by: raghur77
1 Replies
LEARN ABOUT LINUX
php-config5
php-config(1) Scripting Language php-config(1)NAME
php-config - get information about PHP configuration and compile options
SYNOPSIS
php-config [options]
DESCRIPTION
php-config is a simple shell script for obtaining information about installed PHP configuration.
OPTIONS --prefix Directory prefix where PHP is installed, e.g. /usr/local
--includes List of -I options with all include files
--ldflags LD Flags which PHP was compiled with
--libs Extra libraries which PHP was compiled with
--extension-dir
Directory where extensions are searched by default
--include-dir Directory prefix where header files are installed by default
--php-binary Full path to php CLI or CGI binary
--php-sapis Show all SAPI modules available
--configure-options
Configure options to recreate configuration of current PHP installation
--version PHP version
--vernum PHP version as integer
SEE ALSO
php(1)VERSION INFORMATION
This manpage describes php, version 5.3.6-13ubuntu3.10.
COPYRIGHT
Copyright (C) 1997-2010 The PHP Group
This source file is subject to version 3.01 of the PHP license, that is bundled with this package in the file LICENSE, and is available
through the world-wide-web at the following url:
http://www.php.net/license/3_01.txt
If you did not receive a copy of the PHP license and are unable to obtain it through the world-wide-web, please send a note to
license@php.net so we can mail you a copy immediately.
The PHP Group 2010 php-config(1)