1
easymoney
http error 403 forbidden
  • 2005/2/22 1:45

  • easymoney

  • Just popping in

  • Posts: 4

  • Since: 2005/2/20


I have installed XOOPS to a host site. ftp'd zipped file up to site and then decompressed. moved all files to the root directory that is served up. all files copied sucessfully. then started the install and walked through just fine all green lites no error messages. have dba access to db mySQL 4.0.21 (vers). was able to access with admin rights, installed modules and then created a catagory and forum no problems. logged off and then logged back on useing admin, drilled down to open op forum and when clicking on the forum module i get http error 403 forbidden. I can browse to any area or sub area of the site but when I try to access any module i get http 403. created a new user same issue. flattened folder and did a complete reinstall and same issue unable to access modules everything else worked.

php 4.3.10
mySQL 4.0.21
apache server?? not sure of vers
xoops 2.0.9.2

all paths virtual and physical are valid and working.
I can see new banners and new blocks when i create but unable to access modules.

is this a common issue? I ran php debug but no error messages.

thanks for any help in advance.

easy

2
JMorris
Re: http error 403 forbidden
  • 2005/2/22 3:57

  • JMorris

  • XOOPS is my life!

  • Posts: 2722

  • Since: 2004/4/11


Sounds very much like a permissions issue on the module's sub folders. Log in with ftp and check the permissions on module folders and their sub directories. All folders/subfolders should be chmod 755. All files chmod 644.

Exceptions:

chmod 444 mainfile.php
chmod 777 templates_c/ cache/ uploads/

If you have shell access to your web space, you can use the following commands to recursively set the permissions on your entire site. Just copy and paste the following commands into your ssh session while in your xoops_root:

The following sets the appropriate permissions on all your directories. If you get an error that the directory doesn't exist, just remove a "/*" set until it works.
chmod -Rv 755 ./*/*/*/*/*/*/*/*
chmod -Rv 755 ./*/
*/*/*/*/*/*
chmod -Rv 755 ./*/
*/*/*/*/*
chmod -Rv 755 ./*/
*/*/*/*
chmod -Rv 755 ./*/*/*/*
chmod -Rv 755 ./*/
*/*
chmod -Rv 755 ./*/
*
chmod -Rv 755 ./*


This will set the appropriate permissions on all of your files. If you get an error that the file doesn't exist, just remove a "/*" set until it works.
chmod -Rv 644 ./*/*/*/*/*/*/*/*.*
chmod -Rv 644 ./*/
*/*/*/*/*/*.*
chmod -Rv 644 ./*/
*/*/*/*/*.*
chmod -Rv 644 ./*/
*/*/*/*.*
chmod -Rv 644 ./*/*/*/*.*
chmod -Rv 644 ./*/
*/*.*
chmod -Rv 644 ./*/
*.*
chmod -Rv 644 ./*.*


This will take care of the exceptions mentioned above.
chmod 777 cachetemplates_cuploads
chmod 444 mainfile
.php


Hope this helps.
*/

3
easymoney
Re: http error 403 forbidden
  • 2005/2/22 18:46

  • easymoney

  • Just popping in

  • Posts: 4

  • Since: 2005/2/20


our host just informed me that we have do not have shell or telnet access. to change the permissions. Is there another way of chaning the permissions on these folders? can i set the permissions up and then copy them to the webserver?

not too familiar with shell commmand in linux.. thanks for the insight..

Login

Who's Online

271 user(s) are online (197 user(s) are browsing Support Forums)


Members: 0


Guests: 271


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits