[Serusers] Serweb: HTTP 403 Forbidden error

Roberto Lopes robertolopes5 at gmail.com
Tue Aug 29 01:39:31 CEST 2006


Dear SER Users,
I've a problem with Serweb and I hope somebody could help me out
I know this problem was already talked about but i never saw a solution to
it, so I'll post it again hoping somebody will know how to solve this
mistake.
So the problem is that when i try to put serweb working in my firefox
browser the following error is shown:
Forbidden

You don't have permission to access /serweb/index.html on this server.

Additionally, a 403 Forbidden error was encountered while trying to use an
ErrorDocument to handle the request.
------------------------------
Apache/2.2.0 (Fedora) Server at xxx.xxx.xxx.xxx Port 80


I think i installed everything correctly.
I'll show some of the configurations I've made

#1 - In "/etc/php.ini" I changed the memory limit from 8 to 12M because of
the Serweb extension classkit.so
…
memory_limit = 12M

#2 - I used pear to install classkit.so

pear install <path to classkit-0.4.tgz>

#3 - In "php.ini"
…
;;;;;;;;;;;;;;;;;;;;;;
; Dynamic Extensions ;
;;;;;;;;;;;;;;;;;;;;;;
…
extension=classkit.so

#4 - In "/serweb-0.4/config/config_data_layer.php":
…
$config->data_sql->host[$i]['host']="<IP MySQL Server>";
…
$config->data_sql->host[$i]['user']="<DB User>";
$config->data_sql->host[$i]['pass']="<User password>";
..

#5 - In "/root/instalacao/serweb-0.9.4/config/config_paths.php"

$config->root_path="/root/instalacao/serweb- 0.9.4/html/";

#6 - I created a log file
touch /var/log/serweb
chown apache /var/log/serweb

#7 - I created a folder for SIP domain
mkdir /root/installation/serweb-0.4/html/domains/xxx.xxx.xxx.xxx(IP of SER)

#8 - I copied  the files and folder from the default folder
("/root/installation/serweb-0.4/html/domains/_default/") to the one i
created.

#9 - I specified the SIP domain in the file
"/root/installation/serweb-0.4/config/set_domain.php":

…
$config->domain = "xxx.xxx.xxx.xxx(IP of SER)";
…

#10 - I enabled logging in file "/root/installation/serweb-0.4
/config/config.php":
…
$config->enable_loging = true;
$config->log_file = "/var/log/serweb;

#11 - In /etc/httpd/conf/httpd.conf I added an alias
…

<Directory "/var/www/html">
    Options Indexes FollowSymLinks
    AllowOverride None
    Order deny,allow
    Allow from all
</Directory>

<IfModule mod_userdir.c>
    UserDir disable root
    #UserDir public_html
</IfModule>

Alias /serweb/  "/root/instalacao/serweb-0.9.4/html"
<Directory "/root/instalacao/serweb-0.9.4/html">
    Options Indexes MultiViews
    Options +FollowSymlinks
    AllowOverride None
    Order Deny,Allow
    Allow from all
</Directory>
...

#12 - I then put some commands for Apache to begin when computer would start

chkconfig httpd on
service httpd start

#13 - I introduced the following URL

http://<IP of SER>/<alias i wrote in httpd.conf>/
http://xxx.xxx.xxx.xxx/serweb/


And then that HTTP 403 error shows up

I really hope somebody can help me because I'm doing a VoIP project for my
school and I'd really like to have everything done in time.

Thank you for your attention,
Roberto Lopes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20060829/5516666e/attachment.htm>


More information about the sr-users mailing list