I have a couple of questions that I'm hoping you guys could help me out with. Bear with me as I'm somewhat a newbie to cPanel.
1.) How do I set up a subdomain so that it doesn't change the url? For example, I have www.domain.com/subdir. I set up a subdomain of subdir.domain.com in cPanel, and when I go to it after the DNS resolves properly, it changes the url to www.domain.com/subdir. Is there an easy way to do this without the url changing?
2.) I've been searching all over looking for a way to use a script that will allow my users to login to a portion of my site using their cPanel login and pass. I've checked and I know I need to match the encrypted password in /etc/shadow, but I can't figure out how to do the encryption properly so I can verify passwords. I would prefer to do this in PHP, if at all possible, but if it must be done in Perl, that's acceptable as well.
Thanks in advance,