Posts: 13
Threads: 1
Thanks Received:
0 in 0 posts
Thanks Given: 0
Joined: Jul 2014
Reputation:
0
Hello everyone,
I would like to start up the launcher and configure apache on linux centos for my website ...
how I do it?
I put the folder of my website on the "var / www" but does not work ... can someone explain to me how to run my website?
I did not find any guide that can help me .... can you help me?
thank you
Posts: 395
Threads: 43
Thanks Received:
0 in 0 posts
Thanks Given: 0
Joined: Aug 2011
Reputation:
0
/var/www/html/ to be exact and make sure you installed apache, if you have start it by using this command, service httpd start, if you need apache installed use this command, yum install httpd httpd-devel.. and to make apache run at boot do this cmd chkconfig httpd on
Posts: 13
Threads: 1
Thanks Received:
0 in 0 posts
Thanks Given: 0
Joined: Jul 2014
Reputation:
0
ok ... now when I write on my browser localhost / name-my-folder-site gives me this error:
Forbidden
You don't have permission to access /lastonixchaos on this server.
Apache/2.2.15 (CentOS) Server at localhost Port 80
how to solve?
Posts: 395
Threads: 43
Thanks Received:
0 in 0 posts
Thanks Given: 0
Joined: Aug 2011
Reputation:
0
do this chmod -R 755 /var/www/html/lastonixchaos
Posts: 13
Threads: 1
Thanks Received:
0 in 0 posts
Thanks Given: 0
Joined: Jul 2014
Reputation:
0
nothing .... I also tried with chmod 666 or 777 but is not working :/
Posts: 395
Threads: 43
Thanks Received:
0 in 0 posts
Thanks Given: 0
Joined: Aug 2011
Reputation:
0
try turning off iptables to test if it's the ports...service iptables stop..then try and connect
Posts: 13
Threads: 1
Thanks Received:
0 in 0 posts
Thanks Given: 0
Joined: Jul 2014
Reputation:
0
nothing the problem persists :unsure:
Posts: 395
Threads: 43
Thanks Received:
0 in 0 posts
Thanks Given: 0
Joined: Aug 2011
Reputation:
0
please upload a picture of the folders in /var/www/html/
Posts: 11
Threads: 2
Thanks Received:
0 in 0 posts
Thanks Given: 0
Joined: Aug 2013
Reputation:
0
If you type "ls -l" at /var/www/html/lastonixchaos do you see that the folder have the correct rights?
do you have the permissions to add this to the data?
you should be root if you add permissions.