Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: image CSS formatting
I can not speak for anybody else but I guess that you could have avoided the problem if you installed the site in the root of your localhost. The slash in the beginning has nothing to do with txp but how the browser interprets it, which is, the root of the site.
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
Re: image CSS formatting
When I do AMP dev on my Mac, I use the local Apache instance, the local PHP, install MySQL, then create vhosts inside the ~/Sites folder for each project. My schema tacks a .localhost
on the end of a URL, so deving for example.com
exists locally as example.com.localhost
, which avoids the subdirectory stuff. When I push to the live site, I just switch out the site URL in prefs and that’s about it.
Offline
#27 2014-09-11 22:00:39
- candyman
- Member
- From: Italy
- Registered: 2006-08-08
- Posts: 684
Re: image CSS formatting
Thanks Pete, this is a good advice.
I’ve created a subdirectory for TXP just ‘cause I had different projects (a forum and so on…) in the same httdocs folder of XAAMP.
Your solution is smarter, I’ll do this way in future.
Offline
Re: image CSS formatting
The other option if you want to keep things nice and modular is to spin up a VirtualBox VM in bridged networking mode for each dev instance, and use hosts
to map names to each one. Personally, and I’ll try and write this up proper, I use Gas Mask for hosts management, whether it’s localhost or VMs.
{Edited to remove link to Gas Mask for security reasons. Website is reported to contain malware and viruses. – Uli}
Last edited by uli (2014-09-12 09:57:31)
Offline
Re: image CSS formatting
gaekwad wrote #283698:
The other option if you want to keep things nice and modular is to spin up a VirtualBox VM in bridged networking mode for each dev instance, and use
hosts
to map names to each one.
I discovered Vagrant a couple of weeks ago. It wasn’t quite as easy to setup under Windows (at least for me) as advertised but I did get it up and running.
Offline
#30 2014-09-12 12:55:13
- candyman
- Member
- From: Italy
- Registered: 2006-08-08
- Posts: 684
Re: image CSS formatting
This is something new: thank you, Michael!
I think this could be a good start for your FAQ contribute! ;-)
Last edited by candyman (2014-09-12 12:55:23)
Offline
Re: image CSS formatting
Updated link for Gas Mask: github.com/2ndalpha/gasmask
Uli – thanks for the edit. I’ve never had a problem with the original site or the software, so let’s hope it’s a false alarm.
Offline
#32 2014-09-12 14:12:44
- uli
- Moderator
- From: Cologne
- Registered: 2006-08-15
- Posts: 4,304
Re: image CSS formatting
gaekwad wrote #283706:
let’s hope it’s a false alarm.
Yup. Let’s also hope this is not a business model, blocking websites for competitor’s money. (Trafficlight not only alarms but blocks websites from being accessed.)
In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links
Offline