Mark Clarkstone | 1 Nov 2003 01:33

Re: About SSL , Help!

This is my conf btw its not apache2

# Based upon the NCSA server configuration files originally by Rob McCool.
#
# This is the main Apache server configuration file.  It contains the
# configuration directives that give the server its instructions.
# See <URL:http://www.apache.org/docs/> for detailed information about
# the directives.
#
# Do NOT simply read the instructions in here without understanding
# what they do.  They're here only as hints or reminders.  If you are unsure
# consult the online docs. You have been warned.
#
# After this file is processed, the server will look for and process
# /Apache/conf/srm.conf and then /Apache/conf/access.conf
# unless you have overridden these with ResourceConfig and/or
# AccessConfig directives here.
#
# The configuration directives are grouped into three basic sections:
#  1. Directives that control the operation of the Apache server process as
a
#     whole (the 'global environment').
#  2. Directives that define the parameters of the 'main' or 'default'
server,
#     which responds to requests that aren't handled by a virtual host.
#     These directives also provide default values for the settings
#     of all virtual hosts.
#  3. Settings for virtual hosts, which allow Web requests to be sent to
#     different IP addresses or hostnames and have them handled by the
#     same Apache server process.
(Continue reading)

Herb Stein | 1 Nov 2003 01:28

RE: SSL Web Sites

> -----Original Message-----
> From: Wouter van Vliet [mailto:wouter <at> springt.nl]
> Sent: Friday, October 31, 2003 4:47 PM
> To: users <at> httpd.apache.org
> Subject: RE: [users <at> httpd] SSL Web Sites
>
>
> The number of SSL sites you can run on one server is not only limited to
> your system specifications. A more likely limitation is the number of
> IP-addresses. "Name-based" virtual hosts doe not work for ssl sites, they
> have to be IP-based. Bascially this means that you can have only one SSL
> website per IP-address pointing to your company's FreeBSD box.
>
> Wouter
>
> (I'm also quite curious on what others have to say about the system specs
> issue)

As far as I know, that is correct. But for a number of years I've hosted
small companies at www.xyz.com but the SSL page was herbstein.com/xyz and no
one has felt strongly enough that they wanted to spend $125/year or whatever
to get their own cert.
I'd give them the IP address but they don't seem to care. YMMV.

> -----Original Message-----
> From: Mario Antonio [mailto:dino <at> webjogger.net]
> Sent: Friday 31 October 2003 17:35
> To: users <at> httpd.apache.org
> Subject: [users <at> httpd] SSL Web Sites
>
(Continue reading)

Austin McAdory | 1 Nov 2003 06:46
Picon
Favicon

mod_userdir.c permissions error

Ok...where do i begin?  I'm running Apache 1.3.28 on a RedHat Linux 9 
server, with 1.4GHz Athlon, 768MB RAM, and 40GB HD.  Naturally i'm trying to 
setup userdirectories.  So i have built apache with the options 
--enable-module=so (for PHP support which is working) and 
--enable-module=userdir.

I have got everything in my document root to all work purfectly.  However 
when i try to serve a UserDir i have problems.  Going to 
http://starfoc.redirectme.net/~virage/ should give me an empty directory 
listing (since the directory is empty) but as you can see if you try it, it 
instead says:

Forbidden
You don't have permission to access /~virage/ on this server.

--------------------------------------------------------------------------------

Apache/1.3.28 Server at starfox.redirectme.net Port 80

So i figured that the directory had some sort of permissions error, and 
naturally i did a:
chmod a+rwx public_html
but still no luck.

Next I have checked my httpd.conf file at least 20 times for errors, and 
furthermore, the thing i have setup for the user directories is the default 
setup, hence there SHOULD be no problem.

So next i looked in my error and access logs...error log says:

(Continue reading)

Picon
Favicon

Using Apache2 with Zope: Rewrite Rules

Hi all,

I'm trying to follow:
http://zope.org/Documentation/Books/ZopeBook/2_6Edition/VirtualHosting.stx
to upon receiving a request like http://www.example.com/index_html I
redirecto to Zope using
http://127.0.0.1:8080/VirtualHostBase/http/www.example.com:80/vhm_test/VirtualHostRoot/$1
[L, P]

However the help they provide in ZopeBook seems to work only with Apache
and not with Apache2. They say to add: 
NameVirtualHost *
<VirtualHost *>
ServerName www.example.com
RewriteEngine On
RewriteRule ^/(.*)
http://127.0.0.1:8080/VirtualHostBase/http/www.example.com:80/vhm_test/VirtualHostRoot/$1 [L,P]
</VirtualHost>
to httpd.conf and since I don't have httpd.conf I added to apache2/conf/vhosts/vhosts.conf
I added www.example.com to my /etc/hosts in the localhost line.

When I restart Apache2 I get:
descartes root # /etc/init.d/apache2 start
 * Starting apache2...
[Sat Nov 01 13:36:03 2003] [error] VirtualHost _default_:443 -- mixing * ports and non-* 
ports with a NameVirtualHost address is not supported, proceeding with undefined results 

I don't understand the error message!
Can someone please help me out with this one?

(Continue reading)

Joshua Slive | 1 Nov 2003 16:03
Picon

Re: mod_userdir.c permissions error


On Sat, 1 Nov 2003, Austin McAdory wrote:
> [Fri Oct 31 23:38:02 2003] [error] [client 68.119.90.60] (13)Permission
> denied: access to /~virage/ failed becasue search permissions are missing on
> a component of the path

"search permissions" on a directory are the "x" bit in "rwx".  "a
component of the path" means one of the directories in the path to
~virage/.  Assuming this directory is at /home/virage/public_html, then
you need to check the permissions on /home/, /home/virage/, and
/home/virage/public_html.  If these directories don't have at least search
permissions (chmod +x), then there is no way for apache to access the
files.

[I'm not sure of any way to make this error message clearer.]

> I have spent the last 4 hours wadeing through the apache documentation doing
> 12 different searches and found nothing so i beg you all not to tell me to
> read the manual.

The relevant part of TFM is
http://httpd.apache.org/docs/misc/FAQ.html#forbidden

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe <at> httpd.apache.org
   "   from the digest: users-digest-unsubscribe <at> httpd.apache.org
(Continue reading)

Austin McAdory | 1 Nov 2003 17:33
Picon
Favicon

Re: mod_userdir.c permissions error

Thanks!  As luck has it, the problem was that the virage directory itself 
had the permissions error (i had only messed with the public_html directory)

Thanks!

>From: Joshua Slive <joshua <at> slive.ca>
>Reply-To: users <at> httpd.apache.org
>To: users <at> httpd.apache.org
>Subject: Re: [users <at> httpd] mod_userdir.c permissions error
>Date: Sat, 1 Nov 2003 10:03:21 -0500 (Eastern Standard Time)
>
>
>On Sat, 1 Nov 2003, Austin McAdory wrote:
> > [Fri Oct 31 23:38:02 2003] [error] [client 68.119.90.60] (13)Permission
> > denied: access to /~virage/ failed becasue search permissions are 
>missing on
> > a component of the path
>
>"search permissions" on a directory are the "x" bit in "rwx".  "a
>component of the path" means one of the directories in the path to
>~virage/.  Assuming this directory is at /home/virage/public_html, then
>you need to check the permissions on /home/, /home/virage/, and
>/home/virage/public_html.  If these directories don't have at least search
>permissions (chmod +x), then there is no way for apache to access the
>files.
>
>[I'm not sure of any way to make this error message clearer.]
>
> > I have spent the last 4 hours wadeing through the apache documentation 
>doing
(Continue reading)

Andrzej Jan Taramina | 1 Nov 2003 17:56

Solved.: SQLTransformer returns excaped XML content...

Doh!  I must be working too many hours on this project!

<xsl:value-of select="root/sql:rowset/sql:row/sql:package" disable-output-escaping="yes"/>

...does the trick nicely!

Andrzej Jan Taramina
Chaeron Corporation: Enterprise System Solutions
http://www.chaeron.com

Björn Lindström | 1 Nov 2003 17:33
Picon
Picon
Gravatar

POSTing to index.cgi

I want to have a script (a wiki script, called index.cgi) generate any
page requested in my public_html directory.

It works, until I want to change a page, at which point a POST to
index.cgi is needed. This only works as long as I actually call it
as ~bkhl/index.cgi

If I request it under the name ~bkhl/, the POST is apparently dropped,
and no changes can be made. This is of course very unsatisfactory. Does
anyone have a clue on what to do about this? Here are the relevant lines
from my .htaccess:

AddHandler cgi-script cgi

Options +ExecCGI

DirectoryIndex index.cgi index.html

RewriteEngine On
RewriteCond %{QUERY_STRING} ^$
RewriteRule ^([^/?]+)$ /~bkhl/index.cgi/$1 [L,QSA]

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe <at> httpd.apache.org
   "   from the digest: users-digest-unsubscribe <at> httpd.apache.org
For additional commands, e-mail: users-help <at> httpd.apache.org

(Continue reading)

Gunivortus Goos | 1 Nov 2003 18:00
Picon
Favicon

Path problem

Hello,

couldn't find an answer on my path problem, hoping, I'll get it here.

I'm running Apache (Latest AppServ) under Windows XP Pro, installed at:
c:\AppServ
My downloads for visitors are on a different partition, therefore I added
to my httpd.conf:
    Alias /downloads/ "e:/ftp/magic/deutsch/"
This works.
But those downloadfiles should be paswordprotected, so I placed in that
directory a .htaccess file. The path in it to the AuthUserFile is:
    AuthUserFile c:\appserv\apache\bin\password.txt
This fails, the path isn't seen. I tried also slashes in stead of backslashes,
but that didn't help.

could someone help me to solve this?

--

-- 
Best regards,
 Gunivortus

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe <at> httpd.apache.org
   "   from the digest: users-digest-unsubscribe <at> httpd.apache.org
For additional commands, e-mail: users-help <at> httpd.apache.org

(Continue reading)

Björn Lindström | 1 Nov 2003 18:06
Picon
Picon
Gravatar

Re: POSTing to index.cgi

bkhl <at> elektrubadur.se (Björn Lindström) writes:

> I want to have a script (a wiki script, called index.cgi) generate any
> page requested in my public_html directory.
>
> It works, until I want to change a page, at which point a POST to
> index.cgi is needed. This only works as long as I actually call it
> as ~bkhl/index.cgi

I might add that I have tried to reach the same effect using only
mod_rewrite, with the same bad results. Here is what that looked like:

RewriteEngine On

# If there's no query string, change the page name part into a query.
RewriteCond %{QUERY_STRING} ^$
RewriteRule ^([^/]+)$ /~bkhl/cgi-bin/home.pl?$1 [QSA,L]

# Otherwise, do a plain redirect.
RewriteRule ^$ /~bkhl/cgi-bin/home.pl [QSA,L]

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe <at> httpd.apache.org
   "   from the digest: users-digest-unsubscribe <at> httpd.apache.org
For additional commands, e-mail: users-help <at> httpd.apache.org


Gmane