Re: [EMAIL PROTECTED] .htaccess files on a Mac

2007-03-25 Thread David Blomstrom
Please ignore this thread; I just stumbled over the problem and fixed it. Thanks! Now that's room service! Choose from over 150,000 hotels in 45,000 destinations on Yahoo! Travel to find your fit. http://f

[EMAIL PROTECTED] .htaccess files on a Mac

2007-03-25 Thread David Blomstrom
Can anyone tell me the steps I need to follow to enable .htaccess files with mod-rewrite rules on a Mac? I asked the question earlier, referencing MAMP. However, I discovered that reconfiguring things to accommodate MAMP's Apache version is way over my head. Apparently, some MAMP users just stic

Re: [EMAIL PROTECTED] Dual Apache Installations on a Mac

2007-03-25 Thread David Blomstrom
2007 5:24:04 PM Subject: Re: [EMAIL PROTECTED] Dual Apache Installations on a Mac On 25-Mar-07, at 08:04 , David Blomstrom wrote: > I've just discovered that the httpd.conf file I modified to enable > virtual hosts is not the same as the httpd.conf file in my newer > MAMP in

Re: [EMAIL PROTECTED] Dual Apache Installations on a Mac

2007-03-25 Thread David Blomstrom
I have a follow up question... If I can access phpMyAdmin at http://localhost:/MAMP/frame.php?src=%2FphpMyAdmin%2F%3Flang%3Den-iso-8859-1&language=English, does that PROVE that at least one version of Apache is running, or is it possible to view that page in a browser even without a server?

[EMAIL PROTECTED] Dual Apache Installations on a Mac

2007-03-25 Thread David Blomstrom
I've just discovered that the httpd.conf file I modified to enable virtual hosts is not the same as the httpd.conf file in my newer MAMP installation. In other words, my MacBook Pro is apparently running off the original Apache installation, not the Apache that came with the MAMP package; I assu

[EMAIL PROTECTED] .htaccess files on a Mac + MAMP

2007-03-25 Thread David Blomstrom
Are there any MAMP users on this list who can tell me what I need to do to make .htaccess files work on a Mac? I recently copied my databases from my PC to a Mac. I had a hard time getting things to work, so I installed a preconfigured package called MAMP. I finally figured out how to set up vi

[EMAIL PROTECTED] Fixing Localhost on a Mac

2006-10-11 Thread David Blomstrom
I hired someone to install and configure Apache, PHP, MySQL and phpMyAdmin on my new MacBook Pro and set up a virtual host that I could use as a guide. It's kinda sorta working, but there are some major problems. For example, he installed phpMyAdmin inside one of my websites, and http://localhost d

Re: [EMAIL PROTECTED] How do I determine my server's name?

2006-08-31 Thread David Blomstrom
William Rowe wrote, "What a silly app... the right test is to see if the request came in through127.0.0.1 (al la localhost loopback) and distrust the rest :)ipconfig should tell you your IP, maybe your name on win32."Sorry, I'm a little confused. It sounds like you're suggesting I'm using the wrong

[EMAIL PROTECTED] How do I determine my server's name?

2006-08-31 Thread David Blomstrom
This is probably a dumb question, but how do I determine the name of my server (local and online)? I have a PHP script that's supposed to modify a value depending on whether a file is online or local, and it requires the name of my local server. I'm using Apache in both my PC and my Apple laptop, b

[EMAIL PROTECTED] Using mod-rewrite to mimic other domains

2006-08-30 Thread David Blomstrom
I have several websites with similar sections and pages, hosted on the same server (a virtual private server). Each one is a content management system that uses mod-rewrite to display pages like these:www.geobop.org/World/Arizonawww.geoworld.org/Arizonawww.geozoo.org/World/Arizonawww.geosymbols.org

[EMAIL PROTECTED] Virtual Hosts on a Mac - Almost There

2006-08-06 Thread David Blomstrom
I'm trying to set up Apache virtual hosts on my new MacBook Pro, and I think I'm almost there, but I'm hitting a snag somewhere. I get the standard Apache greeting when I type http://localhost/ into my browser, but I when I type in the name of one of my websites - http://Geobop/ - it defaults t

Re: [EMAIL PROTECTED] Need Help Starting XAMPP > Apache on MacBook Pro

2006-08-06 Thread David Blomstrom
Please ignore this thread; I figured it out. Thanks.David Blomstrom <[EMAIL PROTECTED]> wrote: P.S. I suppose the logical alternative is to simply use the default Apache installation, since it appears to be working. But I can't even locate it. I thought it might be in Library > Webserver, but that

Re: [EMAIL PROTECTED] Need Help Starting XAMPP > Apache on MacBook Pro

2006-08-06 Thread David Blomstrom
P.S. I suppose the logical alternative is to simply use the default Apache installation, since it appears to be working. But I can't even locate it. I thought it might be in Library > Webserver, but that folder appears to be empty.I've been typing the names of specific Apache files in my Spotlight

[EMAIL PROTECTED] Need Help Starting XAMPP > Apache on MacBook Pro

2006-08-06 Thread David Blomstrom
I just reinstalled the XAMPP program on my MacBook Pro and got the same error message as before - every program (PHP, MySQL, etc.) installed except Apache.I copied the following from my Terminal program:Password:my-computer:/Users/[USERNAME] root# /Applications/xampp/xamppfiles/mampp startStarting

[EMAIL PROTECTED] "Property keys must be unique" (Apache/Mac)

2006-08-03 Thread David Blomstrom
I'm trying to follow a tutorial at vvvhttp://www.evolt.org/article/Enabling_Virtual_Hosts_on_MacOS_X/18/13138/I'm not certain if I've gone astray or not, but I see this in the bottom window (Property):ip_address    127.0.0.1name    localhostname    geobopserves  ./localI the

Re: [EMAIL PROTECTED] Rerouting Localhost (to XAMPP home page)

2006-08-02 Thread David Blomstrom
Rob Wilkerson <[EMAIL PROTECTED]> wrote: You should be able to do this one of two ways:1. Change your DocumentRoot directory and the associated block to /Applications/xampp/htdocs2. Uncomment the NameVirtualHosts directive and create a *:80> block that has a DocumentRoot that point to/Application

Re: [EMAIL PROTECTED] Rerouting Localhost (to XAMPP home page)

2006-07-31 Thread David Blomstrom
ock that has a DocumentRoot that point to/Applications/xampp/htdocsYou should be able to take a look at the Apache docs and find a prettydecent amount of information about each of these directives/blocks.On 7/30/06, David Blomstrom <[EMAIL PROTECTED]> wrote:> I'm still struggling with my X

[EMAIL PROTECTED] Rerouting Localhost (to XAMPP home page)

2006-07-30 Thread David Blomstrom
I'm still struggling with my XAMPP installation. I finally got it downloaded and extracted, but when I starated the installation, everything installed except Apache. I decided to have another look at the default Apache installation. I opened System Preferences > Sharing and discovered that "Persona

Re: [EMAIL PROTECTED] Apache PC to Apple/Mac - Basic Questions

2006-07-30 Thread David Blomstrom
If I type % sudo pico /etc/httpd/httpd.conf into Apple's Terminal, then press ENTER and get the following response:-bash: fg: %: no such job...does that mean Apache isn't installed on my MacBook Pro after all?I'm thinking of following the same route I took on my PC and just installing the software

Re: [EMAIL PROTECTED] Apache PC to Apple/Mac - Basic Questions

2006-07-30 Thread David Blomstrom
Vincent Bray <[EMAIL PROTECTED]> wrote:> <[EMAIL PROTECTED]>Hi David, good to see you switched ;-)Good to finally escape Microsoft! :)> <[EMAIL PROTECTED]>Are you using the bundled installation of 1.3? In any case, vhostconfiguration is the same across platforms.I don't even know what 1.3 is; I was

[EMAIL PROTECTED] Apache PC to Apple/Mac - Basic Questions

2006-07-29 Thread David Blomstrom
I've been using Apache on a PC, but I bought my first Apple/Mac, a MacBook Pro laptop, just recently. It's pretty easy to use, but I'm still learning how its hard drive and files are organized, etc.Anyway, I have some basic questions about using Apache on a Mac.1) I think I followed the tutorial at

[EMAIL PROTECTED] Mod-Rewrite within a Mod-Rewrite

2006-05-07 Thread David Blomstrom
This is the rewrite rule for my Reference section, which works: RewriteRule ^Reference/([a-zA-Z0-9()_/-]+)/?$ Reference/index.php?ref=$1 [L] I'd like to also create a similar Glossary section, like this: RewriteRule ^Glossary/([a-zA-Z0-9()_/-]+)/?$ Glossary

RE: [EMAIL PROTECTED] Need a mod-rewrite rule for a website's home page

2006-04-27 Thread David Blomstrom
I just found a pretty effective fix. I added slashes after each entry in my "exceptions" switch:[PHP] switch ( $MyName ) { case 'About/': case 'People/': case 'Reference/': echo 'It works!'; break; default:include ($_SERVER['DOCUMENT_ROOT']."/404.php"); break; }[/PHP]Now, if I type mysite/About/ in

RE: [EMAIL PROTECTED] Need a mod-rewrite rule for a website's home page

2006-04-27 Thread David Blomstrom
Well, I've been playing with my rewrite rules, my database and PHP scripts, and it looks like I've come full circle. The home page is previewing dynamic URL's correctly. I have to fix a few things before I can really test the various sections, but I can bring up "pseudo-pages" when I type in URL's

RE: [EMAIL PROTECTED] Need a mod-rewrite rule for a website's home page

2006-04-26 Thread David Blomstrom
le Owen <[EMAIL PROTECTED]> wrote: > -Original Message-> From: David Blomstrom [mailto:[EMAIL PROTECTED] > > You mean literally reverse the order of the rewrite rules, like this?:>RewriteRule ^About/?(-[a-zA-Z0-9_/]+)/?$ About/index.php?bout=$1 [L]RewriteRule ^/?([-a-zA-Z0

RE: [EMAIL PROTECTED] Need a mod-rewrite rule for a website's home page

2006-04-26 Thread David Blomstrom
What 'bout this?RewriteRule ^/About/([^/]+)/?$ /About/index.php?bout=$1 [L]RewriteCond $1 !=AboutRewriteRule ^/([^/]+)/?$ /index.php?home=$1 [L]-ascs____From: David Blomstrom [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 26, 2006 2:59 PMTo: users@httpd.apache.orgSubj

RE: [EMAIL PROTECTED] Need a mod-rewrite rule for a website's home page

2006-04-26 Thread David Blomstrom
You mean literally reverse the order of the rewrite rules, like this?:RewriteRule ^About/?(-[a-zA-Z0-9_/]+)/?$ About/index.php?bout=$1 [L]RewriteRule ^/?([-a-zA-Z0-9_/]+)/?$ /index.php?home=$1 [L]I tried that, but it doesn't seem to work.I have to run do some errands, but I'll do some research on R

[EMAIL PROTECTED] Need a mod-rewrite rule for a website's home page

2006-04-26 Thread David Blomstrom
I have a content management system that uses mod-rewrite rules for various sections. For example, the page mysite/About/index.php uses the following mod-rewrite rule:RewriteRule ^About/([a-zA-Z0-9_/-]+)/?$ About/index.php?bout=$1 [L]It displays URL's like mysite/About/Webmaster and mysite/About/Sea

Re: [EMAIL PROTECTED] Re: Mod-Rewrite: Changing + to -, _ or .

2005-08-23 Thread David Blomstrom
--- John Hicks <[EMAIL PROTECTED]> wrote: > David Blomstrom wrote: > > OK, I've finally got it working. Thanks for all > the > > tips, everyone. > > Would you mind sharing with us just how you solved > your problem? (Future > generations may thank you.)

[EMAIL PROTECTED] Mod_rewrite vs 2 Database Table Cells

2005-08-23 Thread David Blomstrom
I think this question involves PHP and Apache mod_rewrite both. But maybe someone can at least give me an overview here. If you visit http://www.geozoo.org/stacks/Felidae, you'll see a list of genera that belong to the family Felidae in the column on the right. Clicking any genus similarly fetches

Re: [EMAIL PROTECTED] Re: Mod-Rewrite: Changing + to -, _ or .

2005-08-21 Thread David Blomstrom
OK, I've finally got it working. Thanks for all the tips, everyone. --- Kovacs Baldvin <[EMAIL PROTECTED]> wrote: > On Sun, Aug 21, 2005 at 10:18:26AM +0200, Joost de > Heer wrote: > > > 1. RewriteRule ^topics/([a-zA-Z-]+) > > > > - inside a set has a special meaning so you have > to escape it:

Re: [EMAIL PROTECTED] Re: Mod-Rewrite: Changing + to -, _ or .

2005-08-21 Thread David Blomstrom
--- Joost de Heer <[EMAIL PROTECTED]> wrote: > > 1. RewriteRule ^topics/([a-zA-Z-]+) > > - inside a set has a special meaning so you have to > escape it: > RewriteRule ^topics/([a-zA-Z\-]+) > > > 2. RewriteRule ^topics/([a-zA-Z+]-) > > 3. RewriteRule ^topics/([a-zA-Z-]-) > > The + at the end me

[EMAIL PROTECTED] Mod-Rewrite: Changing + to -, _ or .

2005-08-20 Thread David Blomstrom
Someone wrote the following mod-rewrite rules for me: RewriteEngine On RewriteRule ^test\.htm$ test.php [L] RewriteRule ^stacks/([a-zA-Z]+)/?$ stacks/index.php?taxon=$1 [L] RewriteRule ^kids/stacks/([a-zA-Z]+)/?$ kids/stacks/index.php?taxon=$1 [L] RewriteRule ^topics/([a-zA-Z+]+)/?$ topics/index.

Re: [EMAIL PROTECTED] Parsing .htm extensions as .php extensions

2005-08-16 Thread David Blomstrom
--- Erkan BALABAN <[EMAIL PROTECTED]> wrote: > you must search for .htaccess. because this parcing > process can be done with .htaccess. OK, I think I've got it all figured out now. I worked on this several months ago but couldn't get it to work. I just discovered that it was working all the time

Re: [EMAIL PROTECTED] Parsing .htm extensions as .php extensions

2005-08-16 Thread David Blomstrom
et it to work when I tried it months ago. Oh well, can't complain about a freebie. :) Thanks. --- Chris Knipe <[EMAIL PROTECTED]> wrote: > Isn't that one a bit obvious? > > Add .htm to the list??? > > -- > Chris. > > - Original Message -

Re: [EMAIL PROTECTED] Parsing .htm extensions as .php extensions

2005-08-16 Thread David Blomstrom
't think I have access to the conf file online. Thanks. --- Davide Bianchi <[EMAIL PROTECTED]> wrote: > David Blomstrom wrote: > > I THINK there's an Apache function that allows you > to > > use PHP on web pages with .htm extensions. > > Just cha

[EMAIL PROTECTED] Parsing .htm extensions as .php extensions

2005-08-16 Thread David Blomstrom
I THINK there's an Apache function that allows you to use PHP on web pages with .htm extensions. I gave it a shot some time ago and couldn't get it to work. Not until I tackled mod_rewrite a couple days ago did I discover that my .htaccess file wasn't functioning properly. So I want to give this o

Re: [EMAIL PROTECTED] Publishing .htaccess Online

2005-08-15 Thread David Blomstrom
gt; -- > Craig Dunigan > IS Technical Services Specialist > Middleware - EIS - DoIT > University of Wisconsin, Madison > > opinions expressed are my own, not the University's > > On Mon, 15 Aug 2005, David Blomstrom wrote: > > > I read something about

[EMAIL PROTECTED] Publishing .htaccess Online

2005-08-15 Thread David Blomstrom
I read something about publishing .htaccess files online that suggested they require special attention. As I recall, it said you can't publish them as BINARY files. If so, does that mean I can't publish it online with Dreamweaver? Would I be able to use CuteFTP and simply drag and drop it into the

Re: [EMAIL PROTECTED] Why isn't mod_rewrite working?

2005-08-15 Thread David Blomstrom
I just discovered that mod_rewrite IS working. When I click on my links, I get dynamic URL's. But if I type http://geozoo/stacks/Animalia directly into the browser, it works just fine. So I guess the next step is fixing it so that SEO friendly links are produced when I click on a link. Is this som

[EMAIL PROTECTED] Why isn't mod_rewrite working?

2005-08-15 Thread David Blomstrom
Mod_rewrite actually seems less difficult than I at first imagined. However, I'm doing something wrong, as it isn't working yet. These are the steps I've followed: 1. Added this to my httpd conf file: Options FollowSymLinks AllowOverride All 2. Verified that my .htaccess file is funct

Re: [EMAIL PROTECTED] Verifying .htaccess works

2005-08-15 Thread David Blomstrom
OK, it works. Thanks. --- Joshua Slive <[EMAIL PROTECTED]> wrote: > On 8/14/05, David Blomstrom > <[EMAIL PROTECTED]> wrote: > > Related to my last question, I'd like to ask how I > can > > verify that my .htaccess file is functioning. It > could > >

[EMAIL PROTECTED] Verifying .htaccess works

2005-08-14 Thread David Blomstrom
Related to my last question, I'd like to ask how I can verify that my .htaccess file is functioning. It could be the source of my mod_rewrite problem, as I don't think any of my earlier experiments involving .htaccess have ever worked, either. Thanks.

[EMAIL PROTECTED] Mod_rewrite Newbie Questions

2005-08-14 Thread David Blomstrom
I've bookmarked several mod_rewrite tutorials and am currently working on one at http://www.devarticles.com/c/a/Web-Services/Make-Dynamic-URLs-Search-Engine-Friendly/3/ I very quickly got hung up on a couple items. Before I continue, let me give you a brief overview of what I want to do. You can

Re: [EMAIL PROTECTED] Where's AddModule mod_rewrite.c?

2005-08-14 Thread David Blomstrom
--- Joshua Slive <[EMAIL PROTECTED]> wrote: > If you are using apache httpd 2.x then AddModule is > not necessary (and > not allowed). Ah, that explains why it knocked out all my sites when I tried it. I'll go back and add just the first line. Thanks. __

[EMAIL PROTECTED] Where's AddModule mod_rewrite.c?

2005-08-14 Thread David Blomstrom
I just started my first mod_rewrite tutorial when I got stuck when the instructions directed me to uncomment the following two lines in my conf file: LoadModule rewrite_module modules/mod_rewrite.so AddModule mod_rewrite.c The problem is I can't find the second line. So would it be OK to just unc

Re: [EMAIL PROTECTED] Virtual Hosts & public_html Folder

2005-08-09 Thread David Blomstrom
OK, thanks for the tips. --- Sean Conner <[EMAIL PROTECTED]> wrote: > It was thus said that the Great David Blomstrom once > stated: __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://ma

Re: [EMAIL PROTECTED] Virtual Hosts & public_html Folder

2005-08-09 Thread David Blomstrom
AIL PROTECTED]> wrote: > David Blomstrom wrote: > > This is how most of my virtual hosts are set up: > > > > > > ServerName geoworld > > ServerAlias geoworld *.geoworld > > DocumentRoot c:\sites\geoworld > > > > > > However, I read som

[EMAIL PROTECTED] Virtual Hosts & public_html Folder

2005-08-09 Thread David Blomstrom
This is how most of my virtual hosts are set up: ServerName geoworld ServerAlias geoworld *.geoworld DocumentRoot c:\sites\geoworld However, I read somewhere that it's better to put your sites inside a folder named public_html, then set up your virtual host like this: ServerName geozoo Server

Re: [EMAIL PROTECTED] mod_rewrite vs Content Management Systems

2005-08-09 Thread David Blomstrom
--- Brian Candler <[EMAIL PROTECTED]> wrote: > Not exactly - I'm suggesting doing this with > mod_rewrite but with an > external rewriting program. Something like this > (untested): Thanks for all the tips. I'm just on the verge of learning how to make my basic CMS script, so I hope to tackle th

Re: [EMAIL PROTECTED] mod_rewrite vs Content Management Systems

2005-08-08 Thread David Blomstrom
--- Brian Candler <[EMAIL PROTECTED]> wrote: > (2) using an external rewriting process. Lookup > syntax is the same as above, > but you write an external script (e.g. in perl or > whatever language you're > happy with) which performs the lookup in whatever > way you like, e.g. from a > hash in mem

Re: [EMAIL PROTECTED] mod_rewrite vs Content Management Systems

2005-08-07 Thread David Blomstrom
Thanks for the information. That's all good to know. --- Sean Conner <[EMAIL PROTECTED]> wrote: > It was thus said that the Great David Blomstrom once > stated: > > > > I don't understand this file system, but it sounds > > like you're referring to f

Re: [EMAIL PROTECTED] mod_rewrite vs Content Management Systems

2005-08-07 Thread David Blomstrom
#x27;m getting is that this is hard to do with mod_rewrite, so I'd be better off sticking with a CMS. Thanks. --- Sean Conner <[EMAIL PROTECTED]> wrote: > It was thus said that the Great David Blomstrom once > stated: > > > > I want to create a content management syst

Re: [EMAIL PROTECTED] mod_rewrite vs Content Management Systems

2005-08-07 Thread David Blomstrom
John Hicks <[EMAIL PROTECTED]> wrote: > David Blomstrom wrote: > > I want to create a content management system that > > produces user/search engine-friendly URL's like > these: > > > > www.geozoo.org/stacks/Carnivora/ > > www.geozoo.org/kids/Carnivora/ &

[EMAIL PROTECTED] mod_rewrite vs Content Management Systems

2005-08-07 Thread David Blomstrom
I want to create a content management system that produces user/search engine-friendly URL's like these: www.geozoo.org/stacks/Carnivora/ www.geozoo.org/kids/Carnivora/ www.geozoo.org/stacks/Canidae/ www.geozoo.org/kids/Canidae/ www.geozoo.org/stacks/Canis_lupus/ www.geozoo.org/kids/Canis_lupus/

Re: [EMAIL PROTECTED] What ports can I substitute for 8080?

2005-08-04 Thread David Blomstrom
--- [EMAIL PROTECTED] wrote: > You should do it right from the beginning :-) > > Here's how you set up a virtual host for Plone : > > (don't forget to load mod_rewrite) > > > ServerName www.yourdomain.com > RewriteEngine on > RewriteRule ^/(.*) > http://localhost:8080/VirtualHostBase/h

[EMAIL PROTECTED] What ports can I substitute for 8080?

2005-08-04 Thread David Blomstrom
I'm trying out a content management system called Plone, which uses a server called Zope. I understand that I can replace Zope with Apache if I set Apache up as a "proxy server." I haven't figured out how to do that yet, but I've been told that I can also run Apache and Zope at the same time if I a