Aaron Saray

open source programmer,
web developer

entrepreneur, author
and musician

My Blog

contains PHP, Web and business/entrepreneurial related content. Please join in the conversation!

Category Archives: apache

Mod Rewrite to index.php file, the easy way

How many of you have written this before (or something very much like it): ?View Code APACHE1 2 3 4 5 6 RewriteCond %{REQUEST_FILENAME} -s [OR] RewriteCond %{REQUEST_FILENAME} -l [OR] RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^.*$ – … Continue reading

Posted in apache | Tagged | 1 Comment

To WWW or not to WWW

I run into this question a lot. Should my website have www in the domain name. Should I be going to aaronsaray.com or www.aaronsaray.com?? That is to say, which should be the default home page domain? Let’s discuss… Take care … Continue reading

Posted in apache, Misc Web Design, performance, programming | Tagged , , , | 1 Comment

Removing WWW – just not for SEO

I used to think that I had to remove the WWW from my URL’s to stop having duplicate content. For example, if my website The Better Bachelor were to respond at both www.thebetterbachelor.com and thebetterbachelor.com, it used to be thought … Continue reading

Posted in apache | Tagged | 7 Comments

Using ApacheTop with Cronolog

I love ApacheTop. I love Cronolog. After I installed cronolog and used it in my apache configuration, however, I found it more and more difficult to use apachetop. I stopped using it. Well, I finally came up with a bash … Continue reading

Posted in apache | Tagged | 1 Comment

mod_unique_id error after installing mod_security

After installing my mod_security module for apache, I could not restart my apache server. I kept getting the following error: [alert] (EAI 2)Name or service not known: mod_unique_id: unable to find IPv4 address of “mn-ws” In this case, mn-ws was … Continue reading

Posted in apache | Tagged | Leave a comment

Eclipse PDT: Integrating Apache Bench for load testing

When I use an IDE, I expect for it to do everything I need for my project, from start to finish. As you may have read in earlier entries, I enjoy using Eclipse PDT. I think its time to include … Continue reading

Posted in apache, Eclipse PDT, IDE and Web Dev Tools | Tagged , , | 1 Comment

Cross Domain AJAX – A quick anatomy of a mashup

So after searching the Internet for some cross domain AJAX stuff, I noticed two interesting articles. The first was the specifics of writing these queries (located here). Then, the next gave a breakdown of how this might be useful in … Continue reading

Posted in AJAX, apache, javascript, Misc Web Design, security | Tagged , , , | Leave a comment

Pass PHP session to a new script using fsockopen

I was working on a script that opened up a new connection to the same server with fsockopen to process a php script. It passed the variables needed through GET and then gathered the output. Finally, it displayed the output … Continue reading

Posted in apache, PHP | Tagged , | Leave a comment

Security Issue with Subversion Deployment?

I use Subversion (SVN) for source control and deployment both for JEMDiary and at (“the triangle”). While working on my local copy of one of the websites, I got to thinking about the .svn folder and all of its files. … Continue reading

Posted in apache, svn | Tagged , | 1 Comment