saintfrater / wowenhanced

Automatically exported from code.google.com/p/mwenhanced, I decided to continue this project
0 stars 4 forks source link

web-linux #144

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
could someone make a full tutorial on how to make a website on linux
(ubuntu/debian) because i can see that there is a lot that i dont know :S

(my main problem is with allowing the site to write data in side it and i
get this error on 2/3

Couldn't open config-protected.php for editing, it must be writable by
webserver! )

Original issue reported on code.google.com by hato...@gmail.com on 27 May 2010 at 12:13

GoogleCodeExporter commented 8 years ago
chmod the file ^^

Original comment by BrummiKa...@googlemail.com on 27 May 2010 at 12:28

GoogleCodeExporter commented 8 years ago
you can better search with google for such linux problems.
But since I am so kind, open a terminal and type:
sudo chmod 777 /var/www/

replace /var/www/ if your website is in another directory
Warning: Don't use this on any important root directory like /var /home 
/etc...!!!

Original comment by roelverheggen3006@gmail.com on 28 May 2010 at 8:47

GoogleCodeExporter commented 8 years ago
i did that first (haha im not that kind of a newb) and it didn't work

but some guy have sent a msg and told me that something is wrong with my web 
server
not the site it self

and the guy before him sent a msg that i need to allow accsess to my website 
with
.htacsess (or something like that)

Original comment by hato...@gmail.com on 28 May 2010 at 8:10

GoogleCodeExporter commented 8 years ago
there is no reason that you should chmod your entire website directory to 777 
that is unwise to say the least and very un-secure.

Try this instead:

sudo cp /var/www/config/config-protected.php.dist 
/var/www/config/config-protected.php

sudo cp /var/www/config/config.xml.dist /var/www/config/config.xml

sudo cp /var/www/config/playermap_config.php.dist 
/var/www/config/playermap_config.php

sudo chmod 777 /var/www/config/config-protected.php

Original comment by deathwatchgaming on 29 Jul 2010 at 6:24