[Serusers] Serweb: HTTP 403 Forbidden error

Roberto Lopes robertolopes5 at gmail.com
Wed Aug 30 22:22:51 CEST 2006


Hi,

Yes, I tried the full path to the index.php but it didn't work

So I also tried to put, as you said,


Alias /serweb   "/your/serweb/dir/html"

instead of

Alias /serweb/   "/your/serweb/dir/html" but it still doesn't work.

I'm sure it's just one tiny thing that's ruining the whole process but i
simply can't get to it!
If only some log could be more precise
Serweb is really driving me crazy...

Thanks for wishing me good luck

Hope some more ideas can come out to solve this problems

On 8/30/06, Andrey Kouprianov <andrey.kouprianov at gmail.com> wrote:
>
> Hi,
>
> Are your php files recognized as a default? Did u try the full path to
> the index.php (i.e. ...../serweb/index.php)?
>
> But most probably it is your httpd.conf Alias setup. In INSTALL file
> it says that the setup is as follows:
>
> Alias /serweb   "/your/serweb/dir/html"
>
> Yours is
>
> Alias /serweb/  "/root/instalacao/serweb-0.9.4/html"
>
> (Plz, notice the trailing slash after "/serweb/". That makes a huge
> difference)
>
>    Best of luck with the project,
>
>     Andrey.
>
> On 8/29/06, Roberto Lopes <robertolopes5 at gmail.com> wrote:
> >
> > Hi to all,
> >
> > My apache errror log just showed me this:
> > [Tue Aug 29 15:45:57 2006] [error] [client 193.137.239.11]
> (13)Permission
> > denied: access to /serweb/ denied
> >
> > Roberto
> >
> >
> >
> > Roberto
> >
> >
> > >
> > >
> > >
> > >
> > > On 8/29/06, Karel Kozlik < karel at iptel.org> wrote:
> > > > hi,
> > > > what your apache error log say?
> > > > I think there are no read rights for apache on serweb files.
> > > >
> > > > Karel
> > > >
> > > > Roberto Lopes napsal(a):
> > > > >
> > > > >   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
> > > > >
> > > > >
> > > > >
> > ------------------------------------------------------------------------
> > > > >
> > > > > _______________________________________________
> > > > > Serusers mailing list
> > > > > Serusers at lists.iptel.org
> > > > > http://lists.iptel.org/mailman/listinfo/serusers
> > > >
> > >
> > >
> >
> >
> > _______________________________________________
> > Serusers mailing list
> > Serusers at lists.iptel.org
> > http://lists.iptel.org/mailman/listinfo/serusers
> >
> >
> >
> _______________________________________________
> Serusers mailing list
> Serusers at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20060830/aee4e8f6/attachment.htm>


More information about the sr-users mailing list