11-12-2008
Apache issue
I am trying to get a number of virtual server running on a linux/apache box. I have the virtual server configure properly. However doesn't matter what happens it allways ends up in the / directory (root for apache) and brings up the default page. If I look at the log files all i ever see is GET /, and I really dont know where to look any more.
The box is sitting behind a cisco router which port forwards ports 80 and 443 to that server.
Any suggestions would be great.
10 More Discussions You Might Find Interesting
1. Solaris
I seem to have an issue with Apache configurationon our Sun solaris Server.
Since there are 2 my_app instances running in parallel, the perl modules in my_app_perl_libs are getting shared
between them, even though they are in different directories (/u01/my_app and /u01/my_app8).
This is because... (1 Reply)
Discussion started by: rahulrathod
1 Replies
2. Solaris
I want to build a little website on a Sun Blade 100 running Solaris 10.
I just went out to apache.org and downloaded Unix Source: httpd-2.2.8.tar.gz
After unpacking the tarball, I CD'd into the subdirectory and ran the configure utility. Of course, it crapped out. I see that it is... (17 Replies)
Discussion started by: BrewDudeBob
17 Replies
3. Solaris
Hi group,
I need help to start apache in following scenario:
1) Say apache is installed on solaris OS by user 'root'.
2) An entry is there in httpd.conf that says to start apache process as user:
#User <RUN_AS_USER> is edited as
User user1
2) Now say user2 has logged and tries to start... (6 Replies)
Discussion started by: rs266
6 Replies
4. Web Development
I did not see a DocumentRoot entry in apache2.conf so I manually put one.
DocumentRoot /mohit
I restarted apache services but the the pages do not serve from that location.
Can someone tell me what I need to do? (4 Replies)
Discussion started by: mojoman
4 Replies
5. Web Development
I am installing a .crl in my apache config. It looks like this:
<VirtualHost default>
DocumentRoot "web" ServerName example.com
SSLEngine on
SSLCertificateFile "cert.crt" SSLCertificateKeyFile "key.key" SSLCertificateChainFile "cert.ca-bundle"
SSLProtocol -all +SSLv3... (0 Replies)
Discussion started by: DocBrewer
0 Replies
6. AIX
HI Guys,
I got the below error while trying to install the apache2.2.15. from the error I can interpret that some of the .h files are missing. I guess those are C library header files.. Can you help me with it.
bash-3.00# make
Making all in srclib
Making all in apr
/bin/sh... (3 Replies)
Discussion started by: kkeng808
3 Replies
7. Red Hat
Hi,
I am using RedHat Linux 5.3 64bit OS.. When i try to compile apache 2.2.17. during the make install i am getting the below error. Appreciate your help.
rsync: link_stat
"/Application/softwares/softwares/httpd-2.2.15/docs/manual/." failed:
Permission denied (13)
rsync: cannot stat... (4 Replies)
Discussion started by: Krrishv
4 Replies
8. Web Development
Hi,
I have been running into an issue wherein suddenly an apache process eats up lots of memory and system starts swapping. It causes the server to hang due to io-wait. I am able to trace the process/thread which is eating up memory, however, am unable to figure out which webpage is causing it.... (1 Reply)
Discussion started by: vish_indian
1 Replies
9. Web Development
Hi I have vhosts configured for my sites like:
<VirtualHost ip_abc:8081>
........
.....
....
</VirtualHost>
Now I have added a new vhost but on entering the same information on some other port say:
<VirtualHost ip_abc:8082>
........
.....
....
</VirtualHost> (2 Replies)
Discussion started by: ankur328
2 Replies
10. UNIX for Advanced & Expert Users
Hello,
I am facing a very strange issue while setting a virtual host on apache to setup multiple websites using separate IPs.
Virtual host is setup but when i am browsing the website it display content under /var/www/html and displaying site1 and site2 folder instead of access the content... (2 Replies)
Discussion started by: sunnysthakur
2 Replies
LEARN ABOUT DEBIAN
runapp::apache
RunApp::Apache(3pm) User Contributed Perl Documentation RunApp::Apache(3pm)
NAME
RunApp::Apache - Apache control for RunApp
SYNOPSIS
use RunApp::Apache;
$apache = RunApp::Apache->new
(root => "/tmp/apache_run",
report => 1,
apxs => '/usr/local/sbin/apxs',
# httpd => '/usr/local/sbin/httpd',
required_modules => ["log_config", "alias", "perl", "mime"],
config_block => q{
[% IF AP_VERSION == 2 %]
eval { use Apache2 };
eval { use Apache::compat };
[% END %]
<Location /myapp>
AllowOverride None
SetHandler perl-script
PerlSetVar approot [% cwd %]
PerlHandler MyApp
Options +ExecCGI
</Location>
});
DESCRIPTION
This is the class for defining a apache web server to be used in RunApp.
CONSTRUCTOR
new (%arg)
Required arg:
root
The root for the apache instance.
apxs
httpd
If "apxs" is specified, "httpd" will be derived from it.
required_modules
A arrayref to the apache modules required.
config_block
The config block that will be the extra block in the template used by RunApp::Template::Apache.
CTL The class for handling apachectl. The default is RunApp::Control::AppControl. You can also use RunApp::Control::ApacheCtl.
CONF
The class for handling apache config. The default is RunApp::Template::Apache. It is used in the "build" phase of RunApp
SEE ALSO
RunApp, RunApp::Control::Apache, RunApp::Template::Apache, App::Control
AUTHORS
Chia-liang Kao <clkao@clkao.org>
Refactored from works by Leon Brocard <acme@astray.com> and Tom Insam <tinsam@fotango.com>.
COPYRIGHT
Copyright (C) 2002-5, Fotango Ltd.
This module is free software; you can redistribute it or modify it under the same terms as Perl itself.
perl v5.8.8 2008-01-09 RunApp::Apache(3pm)