0
votes
2answers
867 views

How to add iptables ip blocklists to Plesk 10.4.4 (CentOS)?

I'm trying to figure out the best way to add IP blocklists to my Plesk 10.4.4 server (CentOS). It's a simple Virtual Server I recently acquired through my hosting company. I've used .htaccess files ...
0
votes
1answer
274 views

How to set a subdomain as the default domain?

I have a domain (lets call it bar.com) and I want the default hostname to be foo.bar.com. So, bar.com would be redirected to foo.bar.com and foo.bar.com would correspond to the main httpdocs folder (I ...
1
vote
2answers
941 views

create subdomains using .htaccess in Plesk

I am trying to map several subdomains to directories in my ROOT using .htaccess (is 'map' the right word for it?) The server uses Plesk, which is something Im not particulary familiar with (cPanel ...
1
vote
1answer
71 views

turning urls into subdomains?

i have this url http://www.example.com/user.php?user=solomon i want to convert this into http://solomon.example.com how can i do this!! thanks :)) p.s. im using plesk
0
votes
3answers
383 views

Accessing Site with a WWW prefix results in a 500 internal server error!

I have migrated to a new server and when ever I try to use my site with the www prefix I get a 500 internal server error. This use to work on my previous host just fine. Here is a snippet of the ...
0
votes
2answers
2k views

htpasswd and htaccess in Plesk 9.3

Greetings Here is my situation. I currently have one website on my dedicated server. As of now, I have protected the directory /exclusive using the Plesk control panel. I am having a billing company ...
1
vote
1answer
423 views

Rewriting URLs from subdomain to domain in Apache

My webserver is running Plesk and part of my site structure goes like this: / /httpdocs (domain root folder, URL: http://www.domain.com) /subdomains /subdomains/blog/httpdocs (blog root folder, URL: ...
0
votes
2answers
2k views

Where should I put my htpasswd file in a plesk domain for use with .htaccess?

I've got a path in my domain which needs apache to prompt for a password. I'll be using the .htaccess file to do this, so I can protect or unprotect by adding or removing the file. I need a place to ...