Making progress -- need help with httpd.conf

Hello again, thanks to those who’ve helped me today, I am making
progress I think… but I’m not stuck at another point in the install.

I have added the following entry to my apache conf file…

ServerName rtsystem DocumentRoot /opt/rt3/share/html AddDefaultCharset UTF-8 PerlModule Apache2 Apache::compat PerlModule Apache::DBI PerlRequire /opt/rt3/bin/webmux.pl SetHandler perl-script PerlHandler RT::Mason RedirectMatch permanent (.*)/$ http://X.X.X.X$1/index.html

I believe this is how the instructions say to add the info, where
X.X.X.X is the ip of the server.

Apache is running okay, a restart or reload works fine after making
the changes above but when I try to go to http://X.X.X.X or
http://X.X.X.X/index.html the browser goes to a blank page and I get
shis on the error log on the apache server…

*** glibc detected *** free(): invalid pointer: 0x0b1b67b0 ***
[Mon Feb 28 16:56:18 2005] [notice] child pid 7543 exit signal Aborted (6)

Any ideas?

Thank you!

Obstacles are those frightful things you see when you take your eyes
off your goal.
-Henry Ford

I would change my ServerName, I would also set a ServerAliasOn 2/28/05 8:04 PM, “Oscar Gonzalez” rakxzo@gmail.com wrote:

Hello again, thanks to those who’ve helped me today, I am making
progress I think… but I’m not stuck at another point in the install.

I have added the following entry to my apache conf file…

ServerName rtsystem DocumentRoot /opt/rt3/share/html AddDefaultCharset UTF-8 PerlModule Apache2 Apache::compat PerlModule Apache::DBI PerlRequire /opt/rt3/bin/webmux.pl SetHandler perl-script PerlHandler RT::Mason RedirectMatch permanent (.*)/$ http://X.X.X.X$1/index.html

I believe this is how the instructions say to add the info, where
X.X.X.X is the ip of the server.

Apache is running okay, a restart or reload works fine after making
the changes above but when I try to go to http://X.X.X.X or
http://X.X.X.X/index.html the browser goes to a blank page and I get
shis on the error log on the apache server…

*** glibc detected *** free(): invalid pointer: 0x0b1b67b0 ***
[Mon Feb 28 16:56:18 2005] [notice] child pid 7543 exit signal Aborted (6)

Any ideas?

Thank you!

Can you explain this a bit further? - what would you change the
ServerName to and why should I set a ServerAlias… sorry if my
question is ignorant…

Thanks, does anyone else see a problem with the config, or have ideas
as to why I get those errors??On Tue, 01 Mar 2005 00:08:15 -0500, steverieger steve@n2sw.com wrote:

I would change my ServerName, I would also set a ServerAlias

On 2/28/05 8:04 PM, “Oscar Gonzalez” rakxzo@gmail.com wrote:

Hello again, thanks to those who’ve helped me today, I am making
progress I think… but I’m not stuck at another point in the install.

I have added the following entry to my apache conf file…

ServerName rtsystem DocumentRoot /opt/rt3/share/html AddDefaultCharset UTF-8 PerlModule Apache2 Apache::compat PerlModule Apache::DBI PerlRequire /opt/rt3/bin/webmux.pl SetHandler perl-script PerlHandler RT::Mason RedirectMatch permanent (.*)/$ http://X.X.X.X$1/index.html

I believe this is how the instructions say to add the info, where
X.X.X.X is the ip of the server.

Apache is running okay, a restart or reload works fine after making
the changes above but when I try to go to http://X.X.X.X or
http://X.X.X.X/index.html the browser goes to a blank page and I get
shis on the error log on the apache server…

*** glibc detected *** free(): invalid pointer: 0x0b1b67b0 ***
[Mon Feb 28 16:56:18 2005] [notice] child pid 7543 exit signal Aborted (6)

Any ideas?

Thank you!

Obstacles are those frightful things you see when you take your eyes
off your goal.
-Henry Ford

ServerName entry is usually a fqdn such as helpdesk.mydomain.com
rt.mydomain.com the Alias would then be to www.helpdesk.mydomain.com or you
can alias rt.mydomain.com to the ServerName of helpdesk.mydomain.com.On 3/1/05 11:17 AM, “Oscar Gonzalez” rakxzo@gmail.com wrote:

Can you explain this a bit further? - what would you change the
ServerName to and why should I set a ServerAlias… sorry if my
question is ignorant…

Thanks, does anyone else see a problem with the config, or have ideas
as to why I get those errors??

On Tue, 01 Mar 2005 00:08:15 -0500, steverieger steve@n2sw.com wrote:

I would change my ServerName, I would also set a ServerAlias

On 2/28/05 8:04 PM, “Oscar Gonzalez” rakxzo@gmail.com wrote:

Hello again, thanks to those who’ve helped me today, I am making
progress I think… but I’m not stuck at another point in the install.

I have added the following entry to my apache conf file…

ServerName rtsystem DocumentRoot /opt/rt3/share/html AddDefaultCharset UTF-8 PerlModule Apache2 Apache::compat PerlModule Apache::DBI PerlRequire /opt/rt3/bin/webmux.pl SetHandler perl-script PerlHandler RT::Mason RedirectMatch permanent (.*)/$ http://X.X.X.X$1/index.html

I believe this is how the instructions say to add the info, where
X.X.X.X is the ip of the server.

Apache is running okay, a restart or reload works fine after making
the changes above but when I try to go to http://X.X.X.X or
http://X.X.X.X/index.html the browser goes to a blank page and I get
shis on the error log on the apache server…

*** glibc detected *** free(): invalid pointer: 0x0b1b67b0 ***
[Mon Feb 28 16:56:18 2005] [notice] child pid 7543 exit signal Aborted (6)

Any ideas?

Thank you!

RedirectMatch permanent (.*)/$ http://X.X.X.X$1/index.html

That seems like an overly complex Redirect if you’re not proxying
anything. Here’s a working rt virtualhost from one of my Apache 2
configs:

<VirtualHost *:80>
ServerName rt.example.com
DocumentRoot /opt/rt3/share/html
ErrorLog logs/example.com/rt-error_log
CustomLog logs/example.com/rt-access_log common

AddDefaultCharset UTF-8

# these four lines apply to Apache2+mod_perl2 only: {{{
PerlSetVar MasonArgsMethod CGI
PerlModule Apache2 Apache::compat
RewriteEngine On
RewriteRule ^(.*)/$ $1/index.html
#}}}

PerlModule Apache::DBI
PerlRequire /opt/rt3/bin/webmux.pl

<Location />
    SetHandler perl-script
    PerlHandler RT::Mason
</Location>

Bill McGonigle, Owner Work: 603.448.4440
BFC Computing, LLC Home: 603.448.1668
bill@bfccomputing.com Mobile: 603.252.2606
http://www.bfccomputing.com/ Pager: 603.442.1833
AIM: wpmcgonigle Skype: bill_mcgonigle

RedirectMatch permanent (.)/$ http://X.X.X.X$1/index.html

RewriteEngine On
RewriteRule ^(.
)/$ $1/index.html

Neither RedirectMatch nor RewriteRule is needed if DirectoryIndex includes
index.html.

Russell Mosemann, Ph.D. * Computing Services * Concordia University, Nebraska
“Will reading a PowerBook make you computer literate?”

Thanks Bill!.
The fact of the matter is I don’t know exactly what I’m doing so I
took the Redirect from the wiki manual installation guide. it says to
add that…

I’ll try out the config you gave me and see how it goes.
Thank you.On Tue, 1 Mar 2005 11:42:48 -0500, Bill McGonigle bill@bfccomputing.com wrote:

On Mar 1, 2005, at 11:17, Oscar Gonzalez wrote:

RedirectMatch permanent (.*)/$ http://X.X.X.X$1/index.html

That seems like an overly complex Redirect if you’re not proxying
anything. Here’s a working rt virtualhost from one of my Apache 2
configs:


<VirtualHost *:80>
ServerName rt.example.com
DocumentRoot /opt/rt3/share/html
ErrorLog logs/example.com/rt-error_log
CustomLog logs/example.com/rt-access_log common

AddDefaultCharset UTF-8

# these four lines apply to Apache2+mod_perl2 only: {{{
PerlSetVar MasonArgsMethod CGI
PerlModule Apache2 Apache::compat
RewriteEngine On
RewriteRule ^(.*)/$ $1/index.html
#}}}

PerlModule Apache::DBI
PerlRequire /opt/rt3/bin/webmux.pl

<Location />
    SetHandler perl-script
    PerlHandler RT::Mason
</Location>

Bill McGonigle, Owner Work: 603.448.4440
BFC Computing, LLC Home: 603.448.1668
bill@bfccomputing.com Mobile: 603.252.2606
http://www.bfccomputing.com/ Pager: 603.442.1833
AIM: wpmcgonigle Skype: bill_mcgonigle

Obstacles are those frightful things you see when you take your eyes
off your goal.
-Henry Ford

Russell Mosemann wrote:> On Tue, 1 Mar 2005, Bill McGonigle wrote:

On Mar 1, 2005, at 11:17, Oscar Gonzalez wrote:

RedirectMatch permanent (.)/$ http://X.X.X.X$1/index.html

RewriteEngine On
RewriteRule ^(.
)/$ $1/index.html

Neither RedirectMatch nor RewriteRule is needed if DirectoryIndex includes
index.html.

Actually… not universally true.

I’ve found that the SetHandler-ing of the RT tree seems to pre-empt
DirectoryIndex, which is presumably why that rewrite trick was invented.

Max.

I’ve found that the SetHandler-ing of the RT tree seems to pre-empt
DirectoryIndex, which is presumably why that rewrite trick was invented.

It is working here without any problems (Apache 2, mod_perl 2). Perhaps
the behavior is version specific. I have DirectoryIndex defined at the
global level.

DirectoryIndex index.html index.htm

Russell Mosemann, Ph.D. * Computing Services * Concordia University, Nebraska
“When the army gets in trouble, do they call 911?”

  • a friend’s 5-year old son