OT: Good Job -> Re: [Xitami] Re Change of IP address

Linda McCullough ltdeditions at paradise.net.nz
Fri Dec 9 04:04:40 CET 2005


Good one Craig!

Craig Morrison wrote:
> I've been following this thread with anticipation to see if the issue
> was ever going to get resolved. I'm glad to see it did.
> 
> I must say that the patience I saw helping Linda get through this was
> astounding. Something that you just don't see everyday, nor on many
> other support lists (where they would have screamed RTFM).
> 
> I tip my hat to you fine folks, this was very well done indeed.
> 
> Ayhan Tuncer wrote:
> 
>>I'm glad that fixed it. I tried half a day between my work, disabling my
>>own configuration, to understand what exactly was objectionable your
>>configuration.
>>
>>Linda, Xitami is not hard. There are these set of text files it reads to
>>decide how you want it to behave.
>>
>>The text files are only tiny databases, where the records are separated
>>(delimited) in a special way.
>>
>>The admin screen acts only as a translator (with limited capabilites)
>>for you to write to these tiny text databases.
>>
>>If you take the time to open and read the Xitami.cfg + Xitami.aut, these
>>tell you everything (they have explanatory notes on the top parts and
>>the right side) you can do to change how Xitami behaves. Because these
>>are all the rules Xitami uses by default unless you override and change
>>them with another cfg file (and this is why you should never change the
>>Xitami.cfg and Xitami.aut files). 
>>
>>AFter you start reading these, you also understand the Xitami Help
>>better.
>>
>>Good Luck
>>Ayhan
>>
>>- - -
>>
>>-----Original Message-----
>>From: xitami-bounces at lists.xitami.org
>>[mailto:xitami-bounces at lists.xitami.org] On Behalf Of Linda McCullough
>>Sent: Thursday, December 08, 2005 2:02 AM
>>To: Xitami Users General Discussion
>>Subject: Re: [Xitami] Re Change of IP address
>>
>>That fixed it!!!
>>(As well as everything else no doubt)
>>
>>Thanks Ayhan. Thankyou everyone. I will 
>>be keeping all this precious 
>>information. Xitami is pretty hard, but 
>>a little clearer to me now.
>>
>>Ayhan Tuncer wrote:
>>
>>
>>>I tried to reproduce your configuration with the asterisk and the
>>
>>error
>>
>>
>>>but failed.
>>>
>>>Though did I notice something in your defaults.cfg which Xitami.cfg
>>
>>does
>>
>>
>>>not have (so Xitami would not be able to default to it). 
>>>
>>>I think it needs this entry (two lines and then a linebreak):
>>>
>>>[Security]
>>>   Filename=defaults.aut
>>>
>>>I have that in my defaults.cfg and perhaps this is why I fail to
>>>reproduce your error.
>>>
>>>Ayhan
>>>
>>>- - -
>>>
>>>-----Original Message-----
>>>From: xitami-bounces at lists.xitami.org
>>>[mailto:xitami-bounces at lists.xitami.org] On Behalf Of Linda McCullough
>>>Sent: Wednesday, December 07, 2005 12:51 PM
>>>To: Xitami Users General Discussion
>>>Subject: Re: [Xitami] Re Change of IP address
>>>
>>>This was because I was trying to delete 
>>>(unsuccessfully I thought) the 
>>>ltdediyions one.
>>>
>>>I have corrected the firt point and the 
>>>second and not working still. About your 
>>>third point, I don'y quite know what I 
>>>am supposed to do.
>>>
>>>I don't really mind whether ltdeditions 
>>>is there or not. Whatever is easiest.
>>>
>>>Linda
>>>
>>>Ayhan Tuncer wrote:
>>>
>>>
>>>
>>>>Linda,
>>>>
>>>>Firstly, 
>>>>
>>>>[/Admin]
>>>> ltdeditions = "mypassword"[Private]
>>>>
>>>>is not correct. Remove the [Private] and the brackets. If your pasword
>>>>does not contain spaces, remove the quotation marks around the
>>>
>>>password
>>>
>>>
>>>
>>>>too.
>>>>
>>>>
>>>>Secondly, there is something wrong with your virtual hosts.
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>>>From what I've seen in your attached files, ltdeditions has a cfg
>>>
>>>file
>>>
>>>
>>>
>>>>and an aut file in your Xitami directory. But it is not in your
>>>>defaults.cfg as a virtual host. Your only virtual host according to
>>>
>>>your
>>>
>>>
>>>
>>>>defaults.cfg is the solarcharts.
>>>>
>>>>The entry in your defaults.cfg is like this:
>>>>
>>>>[Virtual-hosts]
>>>>  * = "solarcharts.cfg"
>>>>
>>>>If I'm not mistaken, this means everything is solarcharts, ie no
>>>
>>>matter
>>>
>>>
>>>
>>>>which host name or IP the browser used to arrive at your server, the
>>>>configuration file solarcharts.cfg is to be used by Xitami whenever
>>>>applicable. (And neither your ltdeditions.cfg nor your ltdeditions.aut
>>>>has any relevance because no such virtual host configuration was never
>>>>specified in your default.cfg.)
>>>>
>>>>This is how the defaults.cfg entry should be if you want ltdeditions
>>>>also:
>>>>
>>>>[Virtual-hosts]
>>>>  solarcharts.com = "solarcharts.cfg"
>>>>  ltdeditions.com = "ltdeditions.cfg"
>>>>
>>>>(I'm taking a guess here at the host names - you would know what they
>>>>are in reality and if you don't want a virtual host by the name of
>>>>ltdeditions then leave the second line out)
>>>>
>>>>Thirdly,
>>>>
>>>>the configuration files in Xitami are read in cascading order.
>>>>At the very core is the Xitami.cfg - which you should never ever
>>>
>>>change.
>>>
>>>
>>>
>>>>After that there is the Defaults.cfg - used to customize the server.
>>>>In the Defaults.cfg are your virtual host configuration entries..
>>>>These entries specify individual .cfg files for all your virtual
>>>
>>>hosts.
>>>
>>>
>>>
>>>>Then these specified .cfg file are read by Xitami for further
>>>>customization per virtual host.
>>>>
>>>>So the priority Xitami follows right now for all server rules is
>>>>
>>>>1) solarcharts.cfg
>>>>2) defaults.cfg
>>>>3) xitami.cfg
>>>>
>>>>Any rule missing in the solarcharts.cfg is read from defaults.cfg and
>>>
>>>if
>>>
>>>
>>>
>>>>not there, it's read ultimately fron Xitami.cfg . 
>>>>
>>>>The same applies to the .aut files because they were specified.
>>>>Because in your defaults.cfg you are stating everything is
>>>
>>>solarcharts.
>>>
>>>
>>>
>>>>Then Xitami goes to solarcharts.cfg and sees that solarcharts has an
>>>>.aut
>>>>file of its own, the solarcharts.aut. It goes to solarcharts.aut and
>>>>sees
>>>>
>>>>[/Admin]
>>>>  admin=-
>>>>
>>>>AND THIS IS THE ADMIN for Xitami. 
>>>>The user name is "admin" and the password is "~" .
>>>>No matter what your defaults.aut says Xitami will read the
>>>>solarcharts.aut 
>>>>because according to your defaults.cfg right now, 
>>>>"*" everything = solarcharts.cfg .
>>>>
>>>>
>>>>
>>>>- - -
>>>>
>>>>-----Original Message-----
>>>>From: xitami-bounces at lists.xitami.org
>>>>[mailto:xitami-bounces at lists.xitami.org] On Behalf Of Linda McCullough
>>>>Sent: Wednesday, December 07, 2005 10:54 AM
>>>>To: Xitami Users General Discussion
>>>>Subject: [Xitami] Re Change of IP address
>>>>
>>>>Still getting this.
>>>>
>>>>
>>>>
>>>>>>>Your username and/or password are 
>>>>
>>>>invalid.
>>>>
>>>>Want to check my file again?
>>>>
>>>>Linda
>>>>
>>>>Ayhan Tuncer wrote:
>>>>
>>>>
>>>>
>>>>
>>>>>It's an invisible combination of characters (linefeed and return)
>>>>
>>>>which
>>>>
>>>>
>>>>
>>>>
>>>>>marks the end of a line, and it's the thing that allows you to break
>>>>>text into consecutive lines when it does not automatically wrap in
>>>>
>>>>your
>>>>
>>>>
>>>>
>>>>
>>>>>screen.
>>>>>
>>>>>It is the "enter key" (the large one with a right-angled broken
>>>>
>>>>arrow?)
>>>>
>>>>
>>>>
>>>>
>>>>>on your keyboard.
>>>>>
>>>>>Do type it by hand because the character combination differs from OS
>>>>
>>>>to
>>>>
>>>>
>>>>
>>>>
>>>>>OS, and when you press the "enter" key of keyboard your OS inserts
>>
>>the
>>
>>
>>>>>appropriate invisible characters.
>>>>>
>>>>>- - -
>>>>>
>>>>>-----Original Message-----
>>>>>From: xitami-bounces at lists.xitami.org
>>>>>[mailto:xitami-bounces at lists.xitami.org] On Behalf Of Linda
>>
>>McCullough
>>
>>
>>>>>Sent: Wednesday, December 07, 2005 9:44 AM
>>>>>To: Xitami Users General Discussion
>>>>>Subject: Re: [Xitami] Re changed IP address
>>>>>
>>>>>Ok. What's a line break?
>>>>>
>>>>>Linda
>>>>>
>>>>>Ayhan Tuncer wrote:
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>>Linda,
>>>>>>
>>>>>>Your defaults.aut:
>>>>>>
>>>>>>You don't have a linebreak after the name=password entry in the
>>>>>>defaults.aut. It goes one record per line and a line ends with a
>>>>>>linebreak. Add a linebreak to end the record. Actually add many
>>>>>>linebreaks to the end of the file so this won't happen to you in
>>>>>
>>>>>future
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>>again.
>>>>>>
>>>>>>Other than that, the format is perfectly fine. You don't have to
>>
>>have
>>
>>
>>>>>>anything else in the file. I don't and it works.
>>>>>>
>>>>>>There are other things to say about your virtual hosts bur I think
>>>
>>>you
>>>
>>>
>>>
>>>>>>should get your admin password working first.
>>>>>>
>>>>>>Ayhan
>>>>>>
>>>>>>- - -
>>>>>>
>>>>>>-----Original Message-----
>>>>>>From: xitami-bounces at lists.xitami.org
>>>>>>[mailto:xitami-bounces at lists.xitami.org] On Behalf Of Linda
>>>
>>>McCullough
>>>
>>>
>>>
>>>>>>Sent: Wednesday, December 07, 2005 7:50 AM
>>>>>>To: Xitami Users General Discussion
>>>>>>Subject: [Xitami] Re changed IP address
>>>>>>
>>>>>>
>>>>>>I will try it in reverse this time. 
>>>>>>Attached are my Defaults.aut and 
>>>>>>Defaults.cfg
>>>>>>And some other ones. Thanks for all the 
>>>>>>time and help from all of you.
>>>>>>
>>>>>>Linda
>>>>>>
>>>>>>Ayhan Tuncer wrote:
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>>The defaults.aut on my system (XP Pro) is attached. It works fine
>>>>>>>without spaces or the #*END. 
>>>>>>>
>>>>>>>If you want to use the singular form of the file name as:
>>>>
>>>>default.aut,
>>>>
>>>>
>>>>
>>>>
>>>>>>>then your defaults.cfg file should contain a line like this: 
>>>>>>>
>>>>>>>[Security]
>>>>>>>Filename=default.aut
>>>>>>>
>>>>>>>Because that's how Xitami knows the name of the file which is to
>>>>>>
>>>>>>contain
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>>the authentication data and spelling of the name does make a
>>>>>>
>>>>>>difference.
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>>The name of the file Xitami looks for by default (if nothing
>>>>
>>>>overrides
>>>>
>>>>
>>>>
>>>>
>>>>>>>that in cfg) is plural defaults.aut and if not there then
>>>
>>>xitami.aut.
>>>
>>>
>>>
>>>>>>>I've also attached the xitami.aut. It serves as the ultimate format
>>>>>>>example for the aut files.
>>>>>>>
>>>>>>>- - -
>>>>>>>
>>>>>>>-----Original Message-----
>>>>>>>From: xitami-bounces at lists.xitami.org
>>>>>>>[mailto:xitami-bounces at lists.xitami.org] On Behalf Of Johannes
>>
>>Prost
>>
>>
>>>>>>>Sent: Tuesday, December 06, 2005 3:50 PM
>>>>>>>To: Xitami Users General Discussion
>>>>>>>Subject: Re: [Xitami] RE: Changed IP address / default.aut
>>>>>>>
>>>>>>>okay, here we go. Attached is my default.aut file exept the
>>>
>>>password.
>>>
>>>
>>>
>>>>>>>put yours in and you should 
>>>>>>>be ready to go if your LAN addresses are 192.168.100.*
>>>>>>>
>>>>>>>In case the attachment is stripped, create your file as desribed in
>>>>>>
>>>>>>the
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>>other mails and put the 
>>>>>>>following lines in:(without the ---------) copy/paste 
>>>>>>>only make sure you have a space between = and " otherwise it is not
>>>>>>>working for me here (2.5c2)
>>>>>>>----------------------------
>>>>>>>#*END
>>>>>>>
>>>>>>>[/admin]
>>>>>>>username = "yourpassword"
>>>>>>>Webmask = "192.168.100.*"
>>>>>>>---------------------------------
>>>>>>>
>>>>>>>With this you should be able to open the console in your browser
>>>
>>>with
>>>
>>>
>>>
>>>>>>:
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>>1.  http://computername/admin
>>>>>>>2. username password 
>>>>>>>3. console window
>>>>>>>
>>>>>>>I am using this webmask so I am able to connect from any machine in
>>>>
>>>>my
>>>>
>>>>
>>>>
>>>>
>>>>>>>small LAN
>>>>>>>
>>>>>>>
>>>>>>>Johannes
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>>I can see my site in the browser using 
>>>>>>>>this: http://127.0.0.1
>>>>>>>>
>>>>>>>>When I type: http://127.0.0.1/admin It 
>>>>>>>>puts up the screen asking for password 
>>>>>>>>and I get no further. I had the password 
>>>>>>>>written down so I know it was the right 
>>>>>>>>one but didn't work. So I can't get to 
>>>>>>>>console.
>>>>>>>>
>>>>>>>>When I go to the url I get the error page.
>>>>>>>>
>>>>>>>>If I have to make the defaults file 
>>>>>>>>manually (I've tried but nothing worked) 
>>>>>>>>can someone give me a clear example of 
>>>>>>>>the layout and exactly what must go 
>>>>>>>>there. In the copy of xitami that I had 
>>>>>>>>backed up, there was no defaults.aut 
>>>>>>>>only defaults.cfg and that only 
>>>>>>>>mentioned the virtual host that I made a 
>>>>>>>>while ago.
>>>>>>>>
>>>>>>>>Linda
>>>>>>>>
>>>>>>>>Go Bonkers wrote:
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>>Default.aut here makes and modifies itself with a very little
>>>>
>>>>effort
>>>>
>>>>
>>>>
>>>>
>>>>>>>>>and by making it in the console you have ip access restrictions,
>>>>>>>
>>>>>>>realm 
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>>>if needed, login/passwords.
>>>>>>>>>
>>>>>>>>>Basicly mine;
>>>>>>>>>
>>>>>>>>>http://192.168.0.11/admin    (from my laptop)  takes me to the
>>>>>>>
>>>>>>>console.
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>>>click Configuration button,     at top of page click the link
>>
>>
>>>>>>>>>'Security'
>>>>>>>>>
>>>>>>>>>Password file  name it,   defaults.aut   if its not existing.
>>>>>>>>>Define button ...
>>>>>>>>>/admin  webpages/admin 192.168.0.12,192.168.0.11,127.0.0.1
>>>>>>>>>
>>>>>>>>>Click /admin     username  password
>>>>>>>>>
>>>>>>>>>pretty much everything is done with defaults except there are a
>>>
>>>few
>>>
>>>
>>>
>>>>>>>>>fill   text boxes and add some checks marks along the way.
>>>
>>>Takes
>>>
>>>
>>>
>>>>>>>>>moments.
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>-- 
>>>>>>>>>Xitami Users Mailing List -- For Xitami support
>>>>>>>>>To unsubscribe: http://lists.xitami.org/mailman/listinfo/xitami
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>--
>>>>>>>>Xitami Users Mailing List -- For Xitami support
>>>>>>>>To unsubscribe: http://lists.xitami.org/mailman/listinfo/xitami
>>>>>>>
>>>>>>>
>>>>>>>Johannes
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>------------------------------------------------------------------------
>>
>>
>>>>>>>--
>>>>>>>Xitami Users Mailing List -- For Xitami support
>>>>>>>To unsubscribe: http://lists.xitami.org/mailman/listinfo/xitami
>>>>>>
>>>>>>
>>>>>>
>>>>>>--
>>>>>>Xitami Users Mailing List -- For Xitami support
>>>>>>To unsubscribe: http://lists.xitami.org/mailman/listinfo/xitami
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>>--
>>>>>Xitami Users Mailing List -- For Xitami support
>>>>>To unsubscribe: http://lists.xitami.org/mailman/listinfo/xitami
>>>>>
>>>>>
>>>>>--
>>>>>Xitami Users Mailing List -- For Xitami support
>>>>>To unsubscribe: http://lists.xitami.org/mailman/listinfo/xitami
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>>--
>>>>Xitami Users Mailing List -- For Xitami support
>>>>To unsubscribe: http://lists.xitami.org/mailman/listinfo/xitami
>>>>
>>>
>>>
>>>
>>>--
>>>Xitami Users Mailing List -- For Xitami support
>>>To unsubscribe: http://lists.xitami.org/mailman/listinfo/xitami
>>>
>>>
>>>--
>>>Xitami Users Mailing List -- For Xitami support
>>>To unsubscribe: http://lists.xitami.org/mailman/listinfo/xitami
>>>
>>>
>>
>>
>>
>>--
>>Xitami Users Mailing List -- For Xitami support
>>To unsubscribe: http://lists.xitami.org/mailman/listinfo/xitami
>>
>>
>>--
>>Xitami Users Mailing List -- For Xitami support
>>To unsubscribe: http://lists.xitami.org/mailman/listinfo/xitami
>>
> 
> 
> 
> 



More information about the Xitami mailing list