Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Forbidden and password errors setting up weave?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  1 message - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Bearcat M. Şandor  
View profile  
 More options Apr 3 2011, 4:33 am
From: "Bearcat M." Şandor <bear...@feline-soul.com>
Date: Sun, 03 Apr 2011 02:33:42 -0600
Local: Sun, Apr 3 2011 4:33 am
Subject: Forbidden and password errors setting up weave?
php: 5.3.5
mysql: 5.1.51
apache: 2.2.17
latest versions of weave as of tonight
gentoo

Folks,
I'm very confused. I *mostly* know what i'm doing but i can't seem to
get weave working

If i run the tests in the sync server i get:

Please enter a username: bearcat
Please enter a password: test
Get collection timestamps...NOT OK
        got: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>403 Forbidden</title>
</head><body>
<h1>Forbidden</h1>
<p>You don't have permission to access /1.0/bearcat/info/collections
on this server.</p>
<hr>
<address>Apache Server at localhost Port 80</address>
</body></html>

Put an item...NOT OK
        got: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>403 Forbidden</title>
</head><body>
<h1>Forbidden</h1>
<p>You don't have permission to access /1.0/bearcat/storage/history
on this server.</p>
<hr>
<address>Apache Server at localhost Port 80</address>
</body></html>

Put an item...NOT OK
        got: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>403 Forbidden</title>
</head><body>
<h1>Forbidden</h1>
<p>You don't have permission to access /1.0/bearcat/storage/foo
on this server.</p>
<hr>
<address>Apache Server at localhost Port 80</address>
</body></html>

Put an item...NOT OK
        got: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>403 Forbidden</title>
</head><body>
<h1>Forbidden</h1>
<p>You don't have permission to access /1.0/bearcat/storage/tabs
on this server.</p>
<hr>
<address>Apache Server at localhost Port 80</address>
</body></html>

Get collection counts...NOT OK
        got: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>403 Forbidden</title>
</head><body>
<h1>Forbidden</h1>
<p>You don't have permission to
access /1.0/bearcat/info/collection_counts
on this server.</p>
<hr>
<address>Apache Server at localhost Port 80</address>
</body></html>

Get collection timestamps...NOT OK
        got: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>403 Forbidden</title>
</head><body>
<h1>Forbidden</h1>
<p>You don't have permission to access /1.0/bearcat/info/collections
on this server.</p>
<hr>
<address>Apache Server at localhost Port 80</address>
</body></html>

Get item...NOT OK
        got: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>403 Forbidden</title>
</head><body>
<h1>Forbidden</h1>
<p>You don't have permission to access /1.0/bearcat/storage/foo/2
on this server.</p>
<hr>
<address>Apache Server at localhost Port 80</address>
</body></html>

Get item...NOT OK
        got: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>403 Forbidden</title>
</head><body>
<h1>Forbidden</h1>
<p>You don't have permission to access /1.0/bearcat/storage/tabs/1
on this server.</p>
<hr>
<address>Apache Server at localhost Port 80</address>
</body></html>

Get collection ids...NOT OK
        got: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>403 Forbidden</title>
</head><body>
<h1>Forbidden</h1>
<p>You don't have permission to access /1.0/bearcat/storage/foo
on this server.</p>
<hr>
<address>Apache Server at localhost Port 80</address>
</body></html>

Get collection ids...NOT OK
        got: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>403 Forbidden</title>
</head><body>
<h1>Forbidden</h1>
<p>You don't have permission to access /1.0/bearcat/storage/tabs
on this server.</p>
<hr>
<address>Apache Server at localhost Port 80</address>
</body></html>

Bad put (timestamp too old)...NOT OK
        got: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>403 Forbidden</title>
</head><body>
<h1>Forbidden</h1>
<p>You don't have permission to access /1.0/bearcat/storage/foo
on this server.</p>
<hr>
<address>Apache Server at localhost Port 80</address>
</body></html>

Post...NOT OK
        got: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>403 Forbidden</title>
</head><body>
<h1>Forbidden</h1>
<p>You don't have permission to access /1.0/bearcat/storage/foo
on this server.</p>
<hr>
<address>Apache Server at localhost Port 80</address>
</body></html>

Post...NOT OK
        got: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>403 Forbidden</title>
</head><body>
<h1>Forbidden</h1>
<p>You don't have permission to access /1.0/bearcat/storage/tabs
on this server.</p>
<hr>
<address>Apache Server at localhost Port 80</address>
</body></html>

PHP Fatal error:  Call to undefined function
delete_items_by_collection()
in /var/www/weave.feline-soul.net/weaveserver-sync/tests/test_1.0.php on
line 127

Running the test in the registration server i get:
Creating user: UOI161TR4EF71
Check for username (shouldn't exist)...OK
Create user (fail, bad password)...NOT OK
Create user (fail, bad username)...NOT OK
Create user...NOT OK
Check for username (should exist)...NOT OK
Create user again (should fail)...NOT OK
Change user password (fail, bad password)...NOT OK
Change user password (fail, wrong old password)...NOT OK
Change user password...NOT OK
Change user email (fail, wrong password)...NOT OK
Change user email...NOT OK
Get user node...NOT OK
Delete user...NOT OK

My apache virtual hosting looks like this:

<VirtualHost weave.feline-soul.net:443>
  ServerName weave.feline-soul.net
  ServerAlias weave
  #WSGIProcessGroup sync
  #WSGIDaemonProcess sync user=sync group=sync processes=2 threads=25
  #WSGIPassAuthorization On
  #WSGIScriptAlias / /var/www/weave/sync.wsgi
  CustomLog /var/log/apache2/weave.feline-soul.net-access.log combined
  ErrorLog  /var/log/apache2/weave.feline-soul.net-error.log

      Include /etc/apache2/vhosts.d/weave.feline-soul.net_vhost_include
Alias /user/1.1 /var/www/weave.feline-soul.net/weaveserver-registration/1.0/index.php
Alias /user/1.0 /var/www/weave.feline-soul.net/weaveserver-registration/1.0/index.php
Alias /user/1 /var/www/weave.feline-soul.net/weaveserver-registration/1.0/index.php

Alias /1.1 /var/www/weave.feline-soul.net/weaveserver-sync/1.1/index.php
Alias /1.0 /var/www/weave.feline-soul.net/weaveserver-sync/1.1/index.php

</VirtualHost>

weave.feline-soul.net_vhost_include:
ServerAdmin ad...@feline-soul.net
ErrorDocument 404 /404.html
DocumentRoot /var/www/weave.feline-soul.net/
SSLEngine on
SSLCertificateKeyFile /etc/ssl/private/feline-soul_privatekey.pem
SSLCertificateFile /etc/ssl/certs/feline-soul_server.pem

<Directory /var/www/weave.feline-soul.net/>
  Options Indexes FollowSymLinks
  AllowOverride none
# Controls who can get stuff from this server.
  Order allow,deny
  Allow from all
</Directory>

One thing i'm not sure of is the password field in the registration and
sync servers.  If my db user password were 'weave' would i enter 'weave'
for the password or is it looking for the hash that mysql uses in the
user table?

Thanks. Any help is appreciated.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »