Apache Installation

1996-12-20 Thread Angel Leyva
Has anyone else noticed that during the installation of apache ,if you
change the default directories for the document root and/or the
cgi-bin directory, this is not reflected in the srm.conf file. You
have to go into that file, and manually update those paths.

While I have your attention, how does one restart the server once
these changes are made? 

Angel Leyva
([EMAIL PROTECTED])
([EMAIL PROTECTED])

http://cybernex.net/~airborne


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED]


Re: Apache Installation

1996-12-20 Thread hakan
-BEGIN PGP SIGNED MESSAGE-

On Fri, 20 Dec 1996, Angel Leyva wrote:

> Has anyone else noticed that during the installation of apache ,if you
> change the default directories for the document root and/or the
> cgi-bin directory, this is not reflected in the srm.conf file. You
> have to go into that file, and manually update those paths.
> 
> While I have your attention, how does one restart the server once
> these changes are made? 

/etc/init.d/apache reload

- --
 Name:   Hakan Ardo
 E-Mail: [EMAIL PROTECTED]
 WWW:HTTP://www.ub2.lu.se/~hakan/sig.html
 Public Key: Try "finger [EMAIL PROTECTED]"
 Interests:  WWW, Programming, 3D graphics

 Thought for the day: As long as one understands, the
 spelling does not matter :-)
- --

-BEGIN PGP SIGNATURE-
Version: 2.6.3i
Charset: noconv

iQCVAwUBMrqk4d6dx9igIm71AQE9XgQApMLqNRgLzvnZpC58KJGozCh2A3vNlLEY
L/nub6UJDYB1X1GY8WrABUKsEkrIagBOBvJiMNhPI4ZftcnaKxQy2YkcNy8UPCyI
1lGNZebhCoAX+tHvq+qFYnOFbtGU9u2BJjOHfIF8j6I4UibgJMSYOVQz0gRqoi/W
LFZZdKi0TWY=
=UQCD
-END PGP SIGNATURE-


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED]


Re: Apache Installation

1996-12-20 Thread Eloy A. Paris
> > While I have your attention, how does one restart the server once
> > these changes are made? 
> 
> /etc/init.d/apache reload

I did not know of this sophistication. I just do a "kill -HUP 

Regards,

E.-

-- 

Eloy A. Paris
Information Technology Department
Rockwell Automation de Venezuela
Telephone: +58-2-9432311 Fax: +58-2-9430323


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED]


Re: Apache Installation

1996-12-20 Thread hakan
-BEGIN PGP SIGNED MESSAGE-

On Fri, 20 Dec 1996, Eloy A. Paris wrote:

> > > While I have your attention, how does one restart the server once
> > > these changes are made? 
> > 
> > /etc/init.d/apache reload
> 
> I did not know of this sophistication. I just do a "kill -HUP  PID>
> 

Well, that's about what the script does! But  it uses the star-stop-demon
proggy. 

- --
 Name:   Hakan Ardo
 E-Mail: [EMAIL PROTECTED]
 WWW:HTTP://www.ub2.lu.se/~hakan/sig.html
 Public Key: Try "finger [EMAIL PROTECTED]"
 Interests:  WWW, Programming, 3D graphics

 Thought for the day: As long as one understands, the
 spelling does not matter :-)
- --

-BEGIN PGP SIGNATURE-
Version: 2.6.3i
Charset: noconv

iQCVAwUBMrrT7N6dx9igIm71AQGE1QQArVIexZI8SJqFt9Q4uoOXvaLkEBBe447b
zYSbvIXAKFEJcNLDPzkokagOIlqmzxTgSBpxm8jYr/fkecI+SsXw4TkqAcCD80cH
Be9zxgbrYLT+cfnZUZ2oEACIPdWasppJXfBq3S5LmcBh9w+H+048pNc4jCwK
viO+tC+JfFg=
=FpnB
-END PGP SIGNATURE-


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED]


apache installation from source

2000-03-30 Thread aphro
Ok, just got finished with my bi-yearly apache update(takes about 4 hours
to do! heheh) and i'm encountering something odd ...

i configured apache to install to /usr/local/apache, but apachectl wants
to call /usr/local/apache/src/httpd instead of /usr/local/apache/bin/httpd

i fixed it by making src a symlink to bin but id rather fix it in the
source/configuration wherever that may be 

my configuration:

galactica:/usr/local/apache/bin# ./httpd -V
Server version: Apache/1.3.12 (Unix)
Server built:   Mar 29 2000 20:48:09
Server's Module Magic Number: 19990320:7
Server compiled with
 -D HAVE_MMAP
 -D HAVE_SHMGET
 -D USE_SHMGET_SCOREBOARD
 -D USE_MMAP_FILES
 -D USE_FCNTL_SERIALIZED_ACCEPT
 -D HTTPD_ROOT="/usr/local/apache"
 -D SUEXEC_BIN="/usr/local/apache/bin/suexec"
 -D DEFAULT_PIDLOG="logs/httpd.pid"
 -D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
 -D DEFAULT_LOCKFILE="logs/accept.lock"
 -D DEFAULT_XFERLOG="logs/access_log"
 -D DEFAULT_ERRORLOG="logs/error_log"
 -D TYPES_CONFIG_FILE="conf/mime.types"
 -D SERVER_CONFIG_FILE="conf/httpd.conf"
 -D ACCESS_CONFIG_FILE="conf/access.conf"
 -D RESOURCE_CONFIG_FILE="conf/srm.conf"


galactica:/usr/local/apache/bin# ./httpd -l
Compiled-in modules:
  http_core.c
  mod_vhost_alias.c
  mod_env.c
  mod_log_config.c
  mod_mime_magic.c
  mod_mime.c
  mod_negotiation.c
  mod_status.c
  mod_info.c
  mod_include.c
  mod_autoindex.c
  mod_dir.c
  mod_cgi.c
  mod_asis.c
  mod_imap.c
  mod_actions.c
  mod_speling.c
  mod_userdir.c
  mod_alias.c
  mod_rewrite.c
  mod_access.c
  mod_auth.c
  mod_expires.c
  mod_headers.c
  mod_usertrack.c
  mod_so.c
  mod_setenvif.c
  mod_auth_mysql.c
  mod_throttle.c
  mod_gzip_content.c
  mod_log_mysql.c
  mod_roaming.c
  mod_php3.c
  mod_frontpage.c
  mod_perl.c
suexec: disabled; invalid wrapper /usr/local/apache/bin/suexec

Server Version: Apache/1.3.12 (Unix) mod_perl/1.22
FrontPage/4.0.4.3 PHP/3.0.14 AuthMySQL/2.20
Server Built: Mar 29 2000 20:48:09
API Version: 19990320:7
Run Mode: standalone
User/Group: www-data(33)/33

not sure what that suexec error is im using the suexec that came with
apache 1.3.12 ..i'll look more into that tomorrow

any ideas ?

tia

nate


[mailto:[EMAIL PROTECTED] ]--
   Vice President Network Operations   http://www.firetrail.com/
  Firetrail Internet Services Limited  http://www.aphroland.org/
   Everett, WA 425-348-7336http://www.linuxpowered.net/
Powered By:http://comedy.aphroland.org/
Debian 2.1 Linux 2.0.36 SMPhttp://yahoo.aphroland.org/
-[mailto:[EMAIL PROTECTED] ]--
9:15pm up 2 days, 3:54, 3 users, load average: 0.00, 0.02, 0.02


Problem with apache installation..!

2004-08-23 Thread Nayyar Ahmed
Hello All,
when i am tring to install apache i give me errors of dependency...!
the following are the screan output when i try to install, first when
i query dpkg, it gives.


debian:/home/neenix# dpkg -l | grep apache
ii  apache 1.3.31-3   Versatile, high-performance HTTP server
ii  apache-common  1.3.31-3   Support files for all Apache webservers
ii  apache-utils   1.3.31-3   Utility programs for webservers
pF  apache2-common 2.0.49-1   Next generation, scalable, extendable web se
pU  apache2-mpm-pr 2.0.49-1   Traditional model for Apache2
ii  libapache2-mod 4.3.4-4A server-side, HTML-embedded scripting langu


but when i want to install apache through apt-get


debian:/home/neenix# apt-get install  apache
Reading Package Lists... Done
Building Dependency Tree... Done
apache is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 65 not upgraded.
2 not fully installed or removed.
Need to get 0B of archives.
After unpacking 0B of additional disk space will be used.
Setting up apache2-common (2.0.49-1) ...
/var/lib/dpkg/info/apache2-common.postinst: line 18:
/etc/apache2/ports.conf: No such file or directory
dpkg: error processing apache2-common (--configure):
 subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of apache2-mpm-prefork:
 apache2-mpm-prefork depends on apache2-common (= 2.0.49-1); however:
  Package apache2-common is not configured yet.
dpkg: error processing apache2-mpm-prefork (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 apache2-common
 apache2-mpm-prefork
E: Sub-process /usr/bin/dpkg returned an error code (1)



i cant understant it bcoz when i try to install apache2-common or
apache2-mpm-prefork it give me again error , i.e



debian:/home/neenix# apt-get install apache2-common apache2-mpm-prefork
Reading Package Lists... Done
Building Dependency Tree... Done
apache2-common is already the newest version.
apache2-mpm-prefork is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 65 not upgraded.
2 not fully installed or removed.
Need to get 0B of archives.
After unpacking 0B of additional disk space will be used.
Setting up apache2-common (2.0.49-1) ...
/var/lib/dpkg/info/apache2-common.postinst: line 18:
/etc/apache2/ports.conf: No such file or directory
dpkg: error processing apache2-common (--configure):
 subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of apache2-mpm-prefork:
 apache2-mpm-prefork depends on apache2-common (= 2.0.49-1); however:
  Package apache2-common is not configured yet.
dpkg: error processing apache2-mpm-prefork (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 apache2-common
 apache2-mpm-prefork
E: Sub-process /usr/bin/dpkg returned an error code (1)



if some body could solve this problem, thanks



-- 
Nayyar Ahmad

Lecturer
Faculty Of Computer Science,
Institute Of Management Sciences,
Hayat Abad Peshawar , Pakistan.
Office : 92-091-9217404 , 9217452
Cell :  92-0333-9139461


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Problem with apache installation..!

2004-08-23 Thread Red Faction
what are you using? sarge? woody? unstable? and apt source? backports
etc?

Apache and apache2 are two different packages. Apache2 is version 2 of
apache server and is different in configuration/setup etc.

Someone correct me if i'm wrong, looks like you've been trying to
install different packages and system is confused now. Remove the
packages you've installed using apt-get remove, for both apache and
apache2 and then try to install apache only.

HTH

On Mon, 2004-08-23 at 23:37, Nayyar Ahmed wrote:
> Hello All,
> when i am tring to install apache i give me errors of dependency...!
> the following are the screan output when i try to install, first when
> i query dpkg, it gives.
> 
> 
> debian:/home/neenix# dpkg -l | grep apache
> ii  apache 1.3.31-3   Versatile, high-performance HTTP server
> ii  apache-common  1.3.31-3   Support files for all Apache webservers
> ii  apache-utils   1.3.31-3   Utility programs for webservers
> pF  apache2-common 2.0.49-1   Next generation, scalable, extendable web se
> pU  apache2-mpm-pr 2.0.49-1   Traditional model for Apache2
> ii  libapache2-mod 4.3.4-4A server-side, HTML-embedded scripting langu
> 
> 
> but when i want to install apache through apt-get
> 
> 
> debian:/home/neenix# apt-get install  apache
> Reading Package Lists... Done
> Building Dependency Tree... Done
> apache is already the newest version.
> 0 upgraded, 0 newly installed, 0 to remove and 65 not upgraded.
> 2 not fully installed or removed.
> Need to get 0B of archives.
> After unpacking 0B of additional disk space will be used.
> Setting up apache2-common (2.0.49-1) ...
> /var/lib/dpkg/info/apache2-common.postinst: line 18:
> /etc/apache2/ports.conf: No such file or directory
> dpkg: error processing apache2-common (--configure):
>  subprocess post-installation script returned error exit status 1
> dpkg: dependency problems prevent configuration of apache2-mpm-prefork:
>  apache2-mpm-prefork depends on apache2-common (= 2.0.49-1); however:
>   Package apache2-common is not configured yet.
> dpkg: error processing apache2-mpm-prefork (--configure):
>  dependency problems - leaving unconfigured
> Errors were encountered while processing:
>  apache2-common
>  apache2-mpm-prefork
> E: Sub-process /usr/bin/dpkg returned an error code (1)
> 
> 
> 
> i cant understant it bcoz when i try to install apache2-common or
> apache2-mpm-prefork it give me again error , i.e
> 
> 
> 
> debian:/home/neenix# apt-get install apache2-common apache2-mpm-prefork
> Reading Package Lists... Done
> Building Dependency Tree... Done
> apache2-common is already the newest version.
> apache2-mpm-prefork is already the newest version.
> 0 upgraded, 0 newly installed, 0 to remove and 65 not upgraded.
> 2 not fully installed or removed.
> Need to get 0B of archives.
> After unpacking 0B of additional disk space will be used.
> Setting up apache2-common (2.0.49-1) ...
> /var/lib/dpkg/info/apache2-common.postinst: line 18:
> /etc/apache2/ports.conf: No such file or directory
> dpkg: error processing apache2-common (--configure):
>  subprocess post-installation script returned error exit status 1
> dpkg: dependency problems prevent configuration of apache2-mpm-prefork:
>  apache2-mpm-prefork depends on apache2-common (= 2.0.49-1); however:
>   Package apache2-common is not configured yet.
> dpkg: error processing apache2-mpm-prefork (--configure):
>  dependency problems - leaving unconfigured
> Errors were encountered while processing:
>  apache2-common
>  apache2-mpm-prefork
> E: Sub-process /usr/bin/dpkg returned an error code (1)
> 
> 
> 
> if some body could solve this problem, thanks
> 
> 
> 
> -- 
> Nayyar Ahmad
> 
> Lecturer
> Faculty Of Computer Science,
> Institute Of Management Sciences,
> Hayat Abad Peshawar , Pakistan.
> Office : 92-091-9217404 , 9217452
> Cell :  92-0333-9139461
> 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Problem with apache installation..!

2004-08-24 Thread B-Fly
Based on the version number of apache2 I expect you are using testing?
I had the same problem a few days ago when installing apache2. I did get 
it installed in the end. I do not know exactly anymore what I did to get 
it to install. I believe that I manually unpacked apache2-common with 
dpkg to get the needed configuration files. After this it still didn't 
work. I had to edit apache2.conf (see posting of me a few days ago) to 
correct some Include statements. But perhaps it is already corrected by 
now, because I believe apache2 was updated today (in testing at least).

Ronald
Nayyar Ahmed wrote:
Hello All,
when i am tring to install apache i give me errors of dependency...!
the following are the screan output when i try to install, first when
i query dpkg, it gives.
debian:/home/neenix# dpkg -l | grep apache
ii  apache 1.3.31-3   Versatile, high-performance HTTP server
ii  apache-common  1.3.31-3   Support files for all Apache webservers
ii  apache-utils   1.3.31-3   Utility programs for webservers
pF  apache2-common 2.0.49-1   Next generation, scalable, extendable web se
pU  apache2-mpm-pr 2.0.49-1   Traditional model for Apache2
ii  libapache2-mod 4.3.4-4A server-side, HTML-embedded scripting langu
but when i want to install apache through apt-get
debian:/home/neenix# apt-get install  apache
Reading Package Lists... Done
Building Dependency Tree... Done
apache is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 65 not upgraded.
2 not fully installed or removed.
Need to get 0B of archives.
After unpacking 0B of additional disk space will be used.
Setting up apache2-common (2.0.49-1) ...
/var/lib/dpkg/info/apache2-common.postinst: line 18:
/etc/apache2/ports.conf: No such file or directory
dpkg: error processing apache2-common (--configure):
 subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of apache2-mpm-prefork:
 apache2-mpm-prefork depends on apache2-common (= 2.0.49-1); however:
  Package apache2-common is not configured yet.
dpkg: error processing apache2-mpm-prefork (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 apache2-common
 apache2-mpm-prefork
E: Sub-process /usr/bin/dpkg returned an error code (1)

i cant understant it bcoz when i try to install apache2-common or
apache2-mpm-prefork it give me again error , i.e

debian:/home/neenix# apt-get install apache2-common apache2-mpm-prefork
Reading Package Lists... Done
Building Dependency Tree... Done
apache2-common is already the newest version.
apache2-mpm-prefork is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 65 not upgraded.
2 not fully installed or removed.
Need to get 0B of archives.
After unpacking 0B of additional disk space will be used.
Setting up apache2-common (2.0.49-1) ...
/var/lib/dpkg/info/apache2-common.postinst: line 18:
/etc/apache2/ports.conf: No such file or directory
dpkg: error processing apache2-common (--configure):
 subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of apache2-mpm-prefork:
 apache2-mpm-prefork depends on apache2-common (= 2.0.49-1); however:
  Package apache2-common is not configured yet.
dpkg: error processing apache2-mpm-prefork (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 apache2-common
 apache2-mpm-prefork
E: Sub-process /usr/bin/dpkg returned an error code (1)

if some body could solve this problem, thanks


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



chroot testing of apache installation with multiple fqdn

2007-11-02 Thread John Schmidt
Hi,

I am testing out the installation of some software that involves specifying 
hostname information for the install.  I have set up a minimal chroot 
environment and downloaded all of the debian packages and the other software 
that is needed to build it.  

I am using this on my laptop that is brought back and forth from home to work.  
While at work, I have a static routable address assigned to me via dhcp.  At 
home, the laptop sits on my private lan with a 192.168.1.*. statically 
assigned.   

One of the pieces of software I install is apache and a routeable 
address/hostname is required as part of the install procedure for apache and 
some of the other software.

If I do the install testing from home with my 192.168.1.* address in my chroot 
environment, things work fine.  However, if I am at work testing the install 
done at home, then the apache web server won't be able to start.  Likewise, 
installs done at work and then tested at home have issues when starting 
apache.

Is there a way to set up my chroot environment (or perhaps it is an apache 
issue) that allows me the freedom to move the machine from one network to 
another and just always go to the localhost instead of the actual machine 
name/routeable address while still allow apache to start up regardless of 
where the initial apache installation was done?

Thanks for any insight into this matter.

John Schmidt

 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: chroot testing of apache installation with multiple fqdn

2007-11-11 Thread Todd A. Jacobs
On Fri, Nov 02, 2007 at 10:50:21AM -0600, John Schmidt wrote:

> Is there a way to set up my chroot environment (or perhaps it is an
> apache issue) that allows me the freedom to move the machine from one

I'm not even sure I really understand the question. Apache doesn't care
all that much about your hostname, unless you're using named virtual
hosts. What you probably need to do is somehow hook into your current
IP/hostname into the chroot.

If you're using schroot, some of this stuff can be handled
"automagically" although at the cost of reducing the security of the
jail by setting:

run-setup-scripts=true
run-exec-scripts=true

in your schroot.conf file. You can probably tune the scripts in
/etc/schroot/{exec,setup}.d to do what you want more exactly if you know
what you're doing and feel a bit brave.

Otherwise, maybe you just want to set up a boot-time script that will
copy your /etc/resolv.conf and other networking files into the chroot
before apache runs.

-- 
"Oh, look: rocks!"
-- Doctor Who, "Destiny of the Daleks"


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Error in php script, or may be in apache installation

2003-03-12 Thread Antonio Rodriguez
I am testing some php script in my home network, from my win98 machine keep
getting

Method Not Allowed
The requested method POST is not allowed for the URL /test/writing.php.

I have `chown www-data test' and `chown www-data test/* ' to no avail

the post method is simply from a form, here goes the piece of code:









Any ideas what can be wrong?
Thanks


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]