Alain Roger wrote:
[...]
under my browser FF3, when i run http://my.IP.address/se_internet/error.html,
instead to redirect me on http://my.IP.address/se_internet/find.html, i get
a nice 400 error message:
Bad Request Your browser sent a request that this server could not
understand.
any idea ?
Hi Andre,
ok, basically i'm just testing at home the mod_rewrite module from apache,
so i took an example from internet.
basically when i type http://my.IP.address/se_internet/error.html in my
browser address bar, i should be redirected (apache should rewrite address
as) to
Alain Roger wrote:
Ok, then
1) I think that the subject of your message is not very good, if you
want to get answers. Your problem is not really in httpd.conf and
htaccess, it is a problem with mod_rewrite, and you should say so in the
subject, to attract the mod_rewrite specialists, of
Hi,
as you can read in my signature i run apache 2.2.4 under windows XP SP3 and
i have a stupid question about httpd.conf file.
basic installation of apache 2.2.4 under windows XP generates a httpd.conf
file.
in this default file, AccessFileName does not exist... so i add the
following line:
Hi All,
We have upgraded Apache from 1.3.34 to 2.2.9 version.
The virtualhost configuration used in 1.3.34 is not working in
2.2.9 and the configuration is as follows:
IfDefine SSL
Listen 443
Listen 1741
LoadModule ssl_module modules/mod_ssl.so
SSLMutex default
On Mon, Sep 15, 2008 at 8:06 AM, Alain Roger [EMAIL PROTECTED] wrote:
even if i have in my .htaccess file:
RewriteRule ^/([A-Za-z0-9-]+)/welcome/$ /welcome/index.php?lang=$1 [NC,L]
No leading slash is present in what you match against in .htaccess
(it's stripped off along with the RewriteBase)
Hi,
if i make a compilation of all information i have between PHP and apache
RewriteRule i have an issue.
let's take an example.
1. user types in his favorite browser www.website.com
2. www.website.com/index.php redirects user to
www.website.com/en/welcome/(index.php within /welcome) thanks the
Alain Roger wrote:
Hi,
if i make a compilation of all information i have between PHP and apache
RewriteRule i have an issue.
let's take an example.
1. user types in his favorite browser www.website.com
2. www.website.com/index.php redirects user to
www.website.com/en/welcome/(index.php within
I've just had a problem on a site that I need to get fixed properly.
I should probably have taken a bit more care when I set thing up, but at that
time I missed one thing, and that was that the log files default to ServerRoot.
I don't want to move the configuration files from /etc/ but I need
Lester Caine wrote:
I've just had a problem on a site that I need to get fixed properly.
I should probably have taken a bit more care when I set thing up, but at
that time I missed one thing, and that was that the log files default to
ServerRoot.
I don't want to move the configuration files
Alain, let me insist.
Did you configure a RewriteLog and RewriteLogLevel, and did you look at the
resulting lines, to see what happens ?
It may save you a lot of wondering.
Apart from that, from the above I guess that somewhere you have a config
line like
DirectoryIndex index.php
and
Hi,
is there a way to change the logs' data order inwide the log file itself ?
instead to have:
[15/08/2008] - ...
[16/08/2008] - ...
to have :
[16/08/2008] - ...
[15/08/2008] - ...
--
Alain
Windows XP SP3
PostgreSQL 8.2.4 / MS SQL server 2005
Apache 2.2.4
Hi Experts,
With the below configuration in httpd.conf file, am getting file
doesnot exist error in error.log.If I remove the Virtualhost tag from the
below configuration,Apache serves pages.But I want apache to work with the
virtualhost directive.
IfDefine SSL
Listen 443
LoadModule
André Warnier wrote:
Lester Caine wrote:
I've just had a problem on a site that I need to get fixed properly.
I should probably have taken a bit more care when I set thing up, but
at that time I missed one thing, and that was that the log files
default to ServerRoot.
I don't want to move
On Mon, Sep 15, 2008 at 9:15 AM, Alain Roger [EMAIL PROTECTED] wrote:
Hi,
is there a way to change the logs' data order inwide the log file itself ?
instead to have:
[15/08/2008] - ...
[16/08/2008] - ...
to have :
[16/08/2008] - ...
[15/08/2008] - ...
Not without post-processing.
Alain Roger wrote:
Hi,
i would like to rewrite some of my pages so i have the following
.htaccess file under my subfolder _sub/test/
Options +FollowSymlinks
RewriteEngine on
RewriteRule ^article-([0-9]+)-([0-9]+)\.php$
article.php?numero=$1page=$2 [L]
i also have 1 file article.php
hello,
we created a website with content which should be presented differently,
according to group-membership.
We did this with AuthGroupFile in a .htaccess.
For static html-pages it worked fine. We want now to generate dynamic content.
In php it's possible to find the username with
Hi Hugh,
Before I discovered TraceEnable, I found something on the web that showed
how to block TRACE using mod_rewrite. Here's what I got to work (assuming
that your install was compiled with --enable-rewrite):
Include the following lines in your httpd.conf file in a server
configuration
André Warnier wrote:
Lester Caine wrote:
André Warnier wrote:
Lester Caine wrote:
I've just had a problem on a site that I need to get fixed properly.
I should probably have taken a bit more care when I set thing up,
but at that time I missed one thing, and that was that the log files
I don't know the answer to your question but have you considered using
php for authentication and access control?
Your probably better off using $_SERVER then getenv().
Put this at the top of a php page to see what is available.
die ( pre . print_r ( $_SERVER , true ) ) . /pre ) ;
Brad
On
Hey Guys,
I have no need for anybody to have access to my server except me. I
run a couple of different webpages but there just standard and don't have
any. need for special security. ie no login pages and no passwords just for
viewing type. Should I add extra security precautions that I
Lester Caine wrote:
André Warnier wrote:
Lester Caine wrote:
I've just had a problem on a site that I need to get fixed properly.
I should probably have taken a bit more care when I set thing up, but
at that time I missed one thing, and that was that the log files
default to ServerRoot.
I
Looks like you could add something like this to your .htaccess:
SetEnv dir_group group_name
then you should have $_SERVER[ 'dir_group' ] available to you in php.
I'm no security expert and I had to change AllowOverride to All or
probably SetEnv in my directory block and this may be a
Bradley Giesbrecht wrote:
Looks like you could add something like this to your .htaccess:
SetEnv dir_group group_name
That would work, but only if group_name is the only group that could
have access to that directory. If there are several groups, then it
does not work anymore, because you
On Monday 08 September 2008, 13:13 Eric Covener wrote:
On Mon, Sep 8, 2008 at 7:00 AM, Markus Mayer [EMAIL PROTECTED] wrote:
Does anyone have any suggestions as to how I can pinpoint this problem?
Is there any way I can log requests before they are fully served by
apache, as this might
You need to get a little inventive here.
.htaccess:
SetEnv dir_groups system|managers|sales # pipe delimited
something.php:
?php
$dir_groups = explode ( | , $_SERVER[ 'dir_groups' ] ) ;
die ( pre . print_r ( $dir_groups , true ) . /pre ) ;
?
browser result:
Array
(
[0] = system
[1] =
On Mon, Sep 15, 2008 at 2:36 PM, Bradley Giesbrecht [EMAIL PROTECTED] wrote:
You need to get a little inventive here.
.htaccess:
SetEnv dir_groups system|managers|sales # pipe delimited
Not so useful as it doesn't tell you which one your user is a member
of. Authorization info doesn't seem
From: Gene LeDuc Sent: September 15, 2008 09:43
Before I discovered TraceEnable, I found something on the web that
showed
how to block TRACE using mod_rewrite. Here's what I got to work
(assuming
that your install was compiled with --enable-rewrite):
[big snip]
Hi Gene:
Thanks for
Markus Mayer wrote:
Through my experimenting, I also found
the solaris command pfiles. This is much slower, but lists all files that a
process has open at the time of calling.
Did you check if lsof is available for Solaris ? It does the same kind
of thing, has more options that one can
I need to hide part of a url.
for example:
www.exemple.com/site/community/begin.do
|| i need to hide the word site
v
www.exemple.com/community/begin.do
which the most appropriate way to do this?
mod_rewrite?
I do not know mod_rewrite, could someone give me a help about what to do?
Thanx
On Mon, Sep 15, 2008 at 2:36 PM, Bradley Giesbrecht
[EMAIL PROTECTED] wrote:
You need to get a little inventive here.
.htaccess:
SetEnv dir_groups system|managers|sales # pipe delimited
Not so useful as it doesn't tell you which one your user is a member
of. Authorization info doesn't
On Monday 15 September 2008, 21:36 André Warnier wrote:
Markus Mayer wrote:
Through my experimenting, I also found
the solaris command pfiles. This is much slower, but lists all files
that a process has open at the time of calling.
Did you check if lsof is available for Solaris ? It
Hello,
I'm having a configuration issue. I want to put a directory called
www under a project directory. The www directory is where the
php code will go. I've found the UserDir directive that will allow
creating that under /home/username, but I haven't found one like the
one I want.
Rodrigo Correa de Paiva wrote:
I need to hide part of a url.
for example:
www.exemple.com/site/community/begin.do
|| i need to hide the word site
v
www.exemple.com/community/begin.do
which the most appropriate way to do this?
mod_rewrite?
I do not know mod_rewrite, could someone give me a help
Lentes, Bernd wrote:
In php it's possible to find the username with getenv(REMOTE_USER).
Is there a possibility to find out the group with something similar ?
Define what you mean by group, and it should become clear.
(Clue: the answer is 42 - and if you're too young to know what that
means,
I'm using Apache version 2.2.6 with dynamic modules. I'm trying to use
mod_rewrite to change a URL. Specifically, if someone enters:
http://www.consumer-sc.ca.gov
I want to redirect him and make his browser window show:
http://www.consumerservices.ca.gov
Both domains resolve to the same IP
Apache 2.0.46 on RHEL3.9
Hi All:
I am attempting to determine if there is a method of hiding the
subdirectories on our web server. I have spent the better part of
the day doing Google searches without coming up with anything that
would seem to work.
Right now if someone were to attempt to
Hi everyone,
Here's the challenge I'm trying to solve. I'd like to use the
SSLVerifyClient directive to offer better security to users who know
about client certificates, but only for users who opt in to the extra
security.
To make matters more difficult, I'd like to use the same URLs for
On 16 Sep 2008, at 02:44, Hugh E Cruickshank wrote:
Right now if someone were to attempt to access these subdirectories
(i.e. http://www.example.com/cgi-bin) they would receive a 403
Forbidden error message. Unfortunately this is not quite acceptable
to the IBM Rational AppScan utility which
39 matches
Mail list logo