Jennifer Zelazny

Random and Opinionated Thoughts

Category: Apache

Apache Content Management Systems Hosting jappler.com Web Development WordPress

apache, mysql, php update.

Posted by: Jennifer Zelazny | 0 Comments

Finally after two years of contemplating the updates to Apache 2.x, MySQL 5.x, and PHP 5.x, I finally updated my server to the latest version os Apache, MySQL, and PHP. I was not too concerned about custom work or any of my WordPress sites, but I was concerned XOOPS and/or XOOPS modules would have some problems, but it is now a week later and everything is running smoothly. Why finally? Well, as of the end of this month, support for PHP 4 will be discontinued. Better late than never. Time to update your servers too? Read more

Apache Content Management Systems Hints Web Development

debugging web site/database lessons.

Posted by: Jennifer Zelazny | 5 Comments

After spending a frustrating day yesterday working with a client, their web site overload issues, and the hosting “advanced support” I am worn out. The issue: extremely high traffic database driven web site – when moved into the production environment on a dedicated server – would spike the processors’ load to 100% and would then need to be restarted. I got called to help solve the problem. The “advanced support” blamed it on the CMS and that is where I stepped in. The first thing I wanted to see were the server logs. (Apache and MySQL to start) After a... Read More » Read more

Apache HOWTOs Web Development

Fun with mod_rewrite

Posted by: Jennifer Zelazny | 0 Comments

Apache’s mod_rewrite is very powerful. You can prevent hot-linking to your site’s graphics to prevent others from stealing them, redirect your from your old URL to a new URL, re-write URLs, as well as about 500 other really cool things…but today I wanted to share the syntax needed to redirect every incoming URL for a particular web site to a specific page. Why? This could come in handy when doing work on a site and you have a “Performing Updates” (in this case index.html) page. You can put the following code in your .htaccess or httpd.conf file: # Enable rewrite... Read More » Read more

Apache General HOWTOs HTML/XTML Web Development

mod_include to the rescue

Posted by: Jennifer Zelazny | 0 Comments

After working with content management managements for well quite awhile now, the thought of creating more than seven (more than five, less than ten) static pages for a client makes me cringe. Why? I am spoiled by using template driven solutions. With templateing, if I need to make a header change, I change it one place and I am done with it. With using static .html pages, I have to make the change to all the pages. I have grown very reliant on using find and replace, but then – because of the person I am – I have to... Read More » Read more

Apache General Web Development

apache 2.20, php 5, and mysql 5 on mac os x.

Posted by: Jennifer Zelazny | 0 Comments

After finally getting some to to set up my development environment, I began thinking…why am I not using Apache 2.2 and PHP 5.1.2? What made me think about this? “Legacy Release” The phrase “legacy release” is what httpd.apache.org described Apache 1.3.x as in their news section. I have been using Apache 1.x for several years now, only ever really thinking about migrating to 2.0 because of the need to run a subversion server. I have a solid web server solution in place that has made me very happy for the last few years using Apache 1.3.x, but it is finally... Read More » Read more

Apache General Hints

apache support.

Posted by: Jennifer Zelazny | 0 Comments

I cannot stress how amazing the Apache community has been when I have needed help. Not only do I spend a lot of time reading the great documentation on the Apache web site, I subscribe to the Apache mailing lists, and when I really need help fast, I jump on the #Apache channel using IRC (server=irc.freenode.net). So, if you ever have any questions/problems with Apache, support is only a few minutes away. (I had questions about some mod_rewrite syntax yesterday that I got instant help with yesterday via the IRC channel.) I know I promised a link today to my... Read More » Read more

Apache General Hints UNIX Web Development

my OS X web development setup.

Posted by: Jennifer Zelazny | 1 Comment

If you find yourself developing more than one web site at home, or anywhere with a *NIX machine with Apache, and want to be able to access all the sites for testing, it is time to set up Virtual Hosts. By using Virtual Hosts, you can access all your web sites easily (especially if you use absolute links) and separately by typing in: http://jappler/ and http://bareminimum/ and http://other. How does this work? Like I mentioned before, the first step is to set up Virtual Hosts. The second step is to edit your /etc/hosts file so you can assign names to... Read More » Read more

Apache Apple HOWTOs Mac OS X Server UNIX Web Development

redirecting domain.com to www.domain.com.

Posted by: Jennifer Zelazny | 0 Comments

So you have a web server and one/some domain names. You want to have all requests to domain.com to go to www.domain.com. most companies have this redirect in place (Apple is an example). I was stumped when I first set out to do this…so here is what I learned from our friends on the Apache mailing list. ServerName www.domain.com ServerAlias domain.com Redirect permanent / http://www.domain.com/ ServerName www.domain.com ServerAdmin [email protected] DocumentRoot /Volumes/www/domain.com/documents This set up in Apache will then redirect all domain.com requests to www.domain.com. You cannot beat mailing lists’ support! [tags]apache, vhosts, redirect[/tags] Read more

Apache Hints HOWTOs UNIX Web Development

serving apache on a local (not 127.0.0.1 address).

Posted by: Jennifer Zelazny | 0 Comments

If you ever need to serve a web site for, let’s say a presentation, on a local address and need to connect to another computer…perhaps your database/ Web Objects server locally as well, and you are running Mac OS X…then I have some information for you. If you want to serve the web site on 10.0.0.2 and have your other server on 10.0.0.3, open the terminal and type in: sudo ifconfig en0 10.0.0.2. This will change the IP address. (changing the IP address in the network control panel was not enough) Next, edit the apache conf file: sudo pico /etc/httpd/httpd.conf... Read More » Read more