Stephens’ Blog

Archive for October, 2008

Fixing My Blog

by Stephen on Oct.17, 2008, under Computing

For some stupid reason I didn’t change the permalinks on this site when I moved it from one server to another, this meant that when I did change it today most of the site wasn’t working. Arghhhhhhhhhhh

The only way so I did a search which lead me to this page at codex.wordpress.org. This page give out the basics of permalinks and a quick read of the page showed me that my virtual host coonfiguration for this domain in apache was missing some options.

This is what I was missing

<Directory /path-to-website/>
AllowOverride ALL
Options Indexes FollowSymLinks
</Directory>

Once I had added that and done the necessary “httpd -k restart” to pick up the new changes in the config it all came together and started to work.

Leave a Comment more...

Obtaining the password for IUSR

by Stephen on Oct.09, 2008, under Computing

Today at work I had the need to change the regional settings for an IUSR as the data and time format were set to US not the UK. I had found a page which told me how to do this for the standard IUSR_<machine-name> but as the website with the issue wasn’t using the standard IUSR.
The website I found the information on was Fresh mango

Which is followed but it wasn’t all the information I needed so I experimented as best I could and found that if I type cscript adsutil.vbs get w3svc/X/root/anonymoususerpass
with X being the identifier for the website it would give me the password I wanted or at least I thought so. With the credentials now available I tried to log in and change the regional settings but the password wouldn’t let me in.
so what should I do now?

Well I decided to take a jump which isn’t always the best idea but this is what I have done.
within computer manager I located the IUSR I was after and reset the password for the user.
Opened up regional settings as that user by holding down the shift ket and clicking with the left mouse button on regional settings.
changed the regional settings and closed the window.
Within DOS I inputted the following command “cscript adsutil.vbs set w3svc/X/root/anonymoususerpass <password>
I then checked to make sure the password had been accepted by running this command again cscript adsutil.vbs get w3svc/X/root/anonymoususerpass “although it does print it back when the it has been accepted”.

Then I checked the website to ensure it was still working and it was phew but has the date change I well find out when I reboot the server in the next couple of days and let you know.

Leave a Comment more...

Get Adobe Flash playerPlugin by wpburn.com wordpress themes

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!