Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
TxP Solutions & XAMPP?
p.32 of TxP Solutions (the book) explains how to set up a local development site in a folder called example.dev within the XAMPP folder hierarchy. How does one use XAMPP to have multiple development sites hosted locally? Can you simply follow the instructions in those pages (pp. 31-34) to have Textpattern installed in example.dev, example_2.dev, example_3.dev, etc.?
Another way to ask this question is, “how do professional web designers use XAMPP to keep local (Txp) development sites for multiple web sites?”
“Well, I, uh, don’t think it’s quite fair to condemn a whole program because of a single slip-up, sir.” General ‘Buck’ Turgidson
Offline
Re: TxP Solutions & XAMPP?
Yes, you can create a whole series of VirtualHost containers in httpd-vhosts.conf
for your different sites. You just need to give each an independent domain of your choosing and if you wish each can have their own directory. Add these new domains to your windows/system32/drivers/etc/hosts
file too as described a few pages earlier on also with the 127.0.0.1 (i.e. your computer). You may need to stop and restart apache before they come into effect.
I have a websites directory with the different domains each in different folders (for easy s/ftp-ing) and usually I name them local.domain.tld so I later only need to change txp’s settings from local to www).
TXP Builders – finely-crafted code, design and txp
Offline
Re: TxP Solutions & XAMPP?
Useful answer, Jakob. Thanks very much. I like your schema for naming the folders.
“Well, I, uh, don’t think it’s quite fair to condemn a whole program because of a single slip-up, sir.” General ‘Buck’ Turgidson
Offline
#4 2007-06-09 01:12:14
- lux0r
- New Member
- Registered: 2007-05-23
- Posts: 6
Re: TxP Solutions & XAMPP?
does the url rewrite work with local xampp server?
Offline
#5 2007-06-09 23:35:23
- HedgeHog
- Member
- From: Springfield, MO
- Registered: 2004-03-24
- Posts: 14
Re: TxP Solutions & XAMPP?
Yes it will. You need to uncomment it in the httpd file. Loose the #
#LoadModule proxy_ftp_module modules/mod_proxy_ftp.so
LoadModule rewrite_module modules/mod_rewrite.so
Offline
Pages: 1