I’m using Wordpress Mu and Drupal in some of my sites.
But when you want to use wordress mu and use drupal as a service for multiple subdomains you need to do some changes on configurations of server. ( In here i must thank to one of my friend )
Here’s how you do it on a plesk powered server :
1. There’s a folder in named conf in the domain you want to configure. The path will be like this : /var/www/vhosts/domain.com/conf. Create a file with a name vhost.conf to there (using pico vhost.conf for ex). Write a line ServerAlias *.domain.com in it. And save it.
2. Open plesk. Go to domain’s DNS settings. Add an A record *.domain.com
After all run this command : /usr/local/psa/admin/sbin/websrvmng -v -a
That’ll help.
In general most developers install Apache as a service to his/her machine. But sometimes only one apache server can not fit for our wishes. For example we want to use another apache server for testing purposes or want to use another apache server with different server configuration.
Have a nice day, here is how we do it :
Continue reading ‘More than one Apache Server on a Windows Machine’
By default local ip address is 127.0.0.1 or 10.1.1.1 or something like that. So when we’re using apache on our local machine and when we try to access our default server we simply type http://127.0.0.1 as our local address.
But sometimes we want to use different addresses. For example we want to use mod_rewrite to manage some url addresses but it’s not easy when we’re working lots of sites in our local server where they’re in more directories like these :
127.0.0.1/mysite1
127.0.0.1/mysite2
127.0.0.1/mysite3
And of course there’re another reaosons for that. For example you want to link your pages or styles or images dedicated to root like /image1.jpg but it won’t work on sub directories in our web server.
Reasons can be extensible.
Our solution will be simple…
Continue reading ‘Working on Apache with different Local IP Addresses’
For some people it’s a hard job to configure their Windows machine using Apache for mod_rewrite. But in fact this is not a hard process.
Let’s check the steps together.
Continue reading ‘Apache Windows Mod Rewrite Tips’
Latest Comments