Apache related questions
I have some questions about configuring apache.
First of all, I am using openSUSE 10.2 x64
I have installed default apache 2.2.3 which comes with distro.
I was looking the configuration files and i saw there is a file mod_userdir.conf. I opened it and looked what is inside.. They say this module enables users to run their own web sites from their public_html folder. I wanted to enable this feature and add these line in mod_userdir.conf file
when i typed, http://localhost/~beloveds
beloveds is the username. apache says:
Should i re-install module or i dont know invoke something?
or should i run this module?
I was reading about virtual host on apache. It says it is used for managing two or more web site on a single host. They say i got two options:
1-same name, different IPs
2-same ips, different names
I am a little confused here. Our ip's are assigned by DHCP. so if i want to use virtual host how can i have two ip numbers? I have googled it. and found that there is a system named IP masquerading, but it seems too complicated to achive this. Secondly, if i want to use same ip different names, what are these names? :D domain names?
Let me tell you, what i am trying to do..
I have installed Joomla in my linux box, which is in /srv/www/htdocs
what if i want to install another CMS system? and want to these two sites works at the same time? :scratch:
I have tried to put second web page in /srv/www/htdocs/nuke but when i want to open web page http://localhost/nuke
it says i dont have permission. (I made all the files readable, writable, executable for all users, groups; shortly 777)
And another questions. What should be the permissions of the files in the htdocs folder in order to have much more security.
I am wondering what these DNS server does? I actually know what it does? but i dont know how this works. I want to install a mail server to my linux-box on the local area network. and give some accounts to my friends and try to learn how these things works. but let say if i do this, does accounts are going to be like "firstname.lastname@example.org". :confused:
Is there any FTP server, that is more customizable than vsftpd? and easy to configure?
Any comment on these questions will be greatly appriciated.
Take a look at your apache logs specifically the error log and it will tell you if it made it to the server and what exact page it was looking for.
Things to check:
Is there a file:
Does the nobody user have permission to view the files? The permissions of /home/beloved/public_html should be 755 (aka rwxr-xr-x ) or something along those lines.
Did you restart apache after you made changes to the mod_userdir.conf file?
service httpd restart
/etc/rc.d http restart
One of them should restart it.
|All times are GMT -5. The time now is 03:56 AM.|