Hi Neil,
(cc'd the list back in :)
Might be a good idea to grep the rest of the Apache config files, and
see if you can find anywhere else where it might be disabled. That
config should allow it to work anywhere on your site (assuming it
isn't disabled elsewhere :)
James
On 10 March 2010 20:42, Neil Perry <nperry(a)gmail.com> wrote:
> James,
> Thanks for your reply. I'm using debian, but found the php5.conf.
> Here is its current contents:
> <IfModule mod_php5.c>
> <FilesMatch "\.ph(p3?|tml)$">
> SetHandler application/x-httpd-php
> </FilesMatch>
> </IfModule>
> Nothing about the ifmodule user dir.
> Thanks
> Neil Perry
>
>
> On 10 March 2010 20:38, James Gregory <jgxenite(a)gmail.com> wrote:
>>
>> Hi Neil,
>>
>> If you're using Ubuntu, look in /etc/apache2/mods-available/php5.conf:
>> <IfModule mod_userdir.c>
>> <Directory /home/*/public_html>
>> php_admin_value engine Off
>> </Directory>
>> </IfModule>
>> You need to comment out the above lines - they disable PHP in user
>> directories.
>>
>> Hope that helps!
>>
>> James
>>
>> On 10 March 2010 20:28, Mathew Newton <bitfolklist(a)newtonnet.co.uk> wrote:
>> > Sorry Neil, disregard my advice as I now that I read your e-mail
>> > *properly* I see you were making specific reference to the user dir!
>> >
>> > Apologies for the noise everyone...
>> >
>> > Mathew
>> >
>> > On Wed, March 10, 2010 8:25 pm, Mathew Newton wrote:
>> >> Hi Neil,
>> >>
>> >> On Wed, March 10, 2010 8:16 pm, Neil Perry wrote:
>> >>> When I go to a PHP file in my user dir it downloads the php file. The
>> >>> html
>> >>> index file seems to work fine.
>> >>
>> >> Have you got Apache's PHP module installed and enabled?
>> >>
>> >> As root, the following will sort it (or confirm if they are already):
>> >>
>> >> apt-get install libapache2-mod-php5
>> >> a2enmod php5
>> >>
>> >> (Then restart Apache with /etc/init.d/apache2 restart)
>> >>
>> >> Without this module, Apache just sees them as text files and outputs
>> >> the
>> >> content rather than interprets it.
>> >>
>> >> Mathew
>> >
>> >
>> >
>> >
>> > _______________________________________________
>> > users mailing list
>> > users(a)lists.bitfolk.com
>> > https://lists.bitfolk.com/mailman/listinfo/users
>> >
>
>
Hi all,
I am a recent newcomer to Bitfolk, and indeed VPS's in general, and so far
good - far surpassing expectations in fact.
I have been busy migrating several of my services from my home server to
the new VPS and have noticed a slight difference in representation in time
- the use of UTC versus GMT - in areas such as logs, application variables
(Apache date-related SSI's for example).
My question is, can I change the system clock from UTC to GMT and, if so,
how? I am aware that I could tweak most applications (e.g. Apache's config
timefmt command) however I would prefer to change this in only one place
if at all possible.
If this is doable, would I risk breaking anything? I've seen some mention
of time synchronisation issues between the VPS and host system in previous
discussions and so am conscious that this could be a dangerous area for
idle tweaking.
My preference for GMT/BST is largely aesthetic, and perhaps also simply
what I'm used to, with a slight hint of British tradition thrown in also!
Would be grateful for any advice.
Regards,
Mathew
Hi,
Yesterday morning I switched https://panel.bitfolk.com to use a pair
of replicated LDAP servers instead of just the one, so that it would
still work if the LDAP server was down.
Only today I noticed that password changes were being accepted but
not applied because Net::LDAP does not automatically follow
referrals. The consumer (slave) LDAP is read-only and refers updates
to the provider.
I have now reverted configuration so that only the provider server
is used, until I can write the code to manually follow referrals.
If you changed your password via the panel web site in the last
36-ish hours, you may want to check that it's actually taken effect.
Changes from the Xen Shell (ssh
username(a)username.console.bitfolk.com) will have been processed
properly.
Apologies for the confusion.
Cheers,
Andy
--
http://bitfolk.com/ -- No-nonsense VPS hosting
>> I have just recently purchased a Feathercraft Big Kahuna kayak
> does it have a heater?
Of course not. Everyone knows you can't have your kayak and heat it.
-- James Fidell