Re: Url Patterns IE problem

2008-06-05 Thread Thierry Schork
I don't know if it's the correct way to deal with it, but adding a line ilke that one: ('','djangoshots.root.index'), into my urls.py allowed me to match an empty request to a specific controller. But, the drawback is that any invalid urls are matched by it too. Oh, and it need to be the last one.

Re: How to change Apache port? do I need to?

2008-06-03 Thread Thierry Schork
The "it works" message is, I believe, the sandard default page. Did you stopped/restarted apache after each modifications ? Because of it's nature, I don't think you can send a reload signal to apache on windows, so you need to stop/restart it after each modifications in the config file. The

Re: psql to postgres, IA prompt, how to create database?

2008-06-02 Thread Thierry Schork
On Mon, 2008-06-02 at 10:15 -0700, [EMAIL PROTECTED] wrote: > and how do i access or change password etc for this database later? > is there a turorial somewhere? > http://www.postgresql.org/docs/manuals/ http://www.postgresql.org/docs/8.0/interactive/sql-alteruser.html >From that last page:

Re: psql to postgres, IA prompt, how to create database?

2008-06-02 Thread Thierry Schork
\h before any command gives you the help: \h CREATE DATABASE Command: CREATE DATABASE Description: create a new database Syntax: CREATE DATABASE name [ [ WITH ] [ OWNER [=] dbowner ] [ TEMPLATE [=] template ] [ ENCODING [=] encoding ] [ TABLESPACE [=]

Re: How to change Apache port? do I need to?

2008-06-02 Thread Thierry Schork
Sorry, I'm a linux only user for the last 8 years. Apache don't have official front-end as far as I know, so you have to check with the package where your apache server came from. On Mon, Jun 2, 2008 at 5:06 PM, <[EMAIL PROTECTED]> wrote: > > also, i have a problem with the apache GUI on

Re: How to change Apache port? do I need to?

2008-06-02 Thread Thierry Schork
On Mon, Jun 2, 2008 at 5:03 PM, <[EMAIL PROTECTED]> wrote: > > so this: > "Note that if you choose to run Apache on port 8000, it will conflict > with the default port for the Django development/test server. Not > cool. " > > is not a problem as it is? No. It would only be a problem if you

Re: How to change Apache port? do I need to?

2008-06-02 Thread Thierry Schork
put exactly what you want. 80 is the default HTTP port. 443 is the default HTTPS 8080 is often used for the proxy, but as long as it don't conflict with another service on your server, you can put anything you want On Mon, Jun 2, 2008 at 4:55 PM, <[EMAIL PROTECTED]> wrote: > > in httpf.conf : >

Re: Apache file permission, wont let me edit file

2008-06-02 Thread Thierry Schork
You have to be the "root" user of the server to do that. Use the "su" command (or "sudo bash" if sudo is intalled) into a terminal and edit the file from the terminal. You probably try to edit the file from a normal user account, which have just a read permission to that file. On Mon, Jun 2,

Re: urls.py and adding an OR to the regexp

2008-05-28 Thread Thierry Schork
Not that I will integrate an URL matching like that one, but for the sake of the example (or is it exemple ?? I'm never sure...) > > On May 28, 3:15 am, "Thierry Schork" <[EMAIL PROTECTED]> wrote: > > > > It's simply an OR done into the matching. Taking the simpliest

Re: urls.py and adding an OR to the regexp

2008-05-28 Thread Thierry Schork
> > It's simply an OR done into the matching. Taking the simpliest, I > > would like to implement this regexp: > > ^pric(e|es)/ > > into urls.py, but the () are overlapping with the text capture, as it > > seems. > > If you want to use parentheses that don't capture use "?:" to flag it > as