Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Developement and production mod_perl sites on a single server

by cLive ;-) (Prior)
on Nov 12, 2002 at 06:29 UTC ( [id://212210]=note: print w/replies, xml ) Need Help??


in reply to Developement and production mod_perl sites on a single server

Funny, I've just had to deal with the same thing :)

Sounds like you're on your own here, so why not do what I'm doing?

Mirror the install on your desktop, and move code over only when thoroughly tested. I use scp:

scp -r /home/userdir user@host.com:/home/

I'm using Mandrake as the Desktop, but installing and compiling Apache with SSL and mod_perl in the same way I am on the server (rather than using the Mandrake versions), and running the site under the same username with the same directory structure and httpd.conf (excluding the domain, of course, which is set to localhost!), startup.pl and Perl Modules.

Fingers crossed, I haven't encountered any major differences yet. Of course, if you're writing Apache modules, there might be issues, but that's not something I know how to do at the moment, so I can't really comment.

To be honest, I haven't even bothered to see what *nix the server is actually running - I was just dumped on the box and told to get it up and running, and that seemed like the easiest route.

.02

cLive ;-)

Replies are listed 'Best First'.
Re: Re: Developement and production mod_perl sites on a single server
by astaines (Curate) on Nov 12, 2002 at 19:57 UTC

    If you're really twisted you could do what I do - I develop my website on the laptop on which I'm writing this using Windows 2000, I test it on the same laptop using Red Hat 7.2, and I deploy it (with Unison) on a server running RedHat 7.0. I spent some time ensuring that the directory structures all had the same names though...

    --
    Anthony Staines

    PS - I use Apache, mod-perl, the latest version of Mason (1.05 I think), and MySql. I keep a subset of the database on the laptop, and the main database lives on another server. The only difference is in a single configuration file.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://212210]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (5)
As of 2024-04-16 11:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found