After fiddling around with 'grub' for linux I appear to have destroyed my XP bootsector, I now get the message:
------------------------
Error 13: Invalid or unsupported executable format
Press any key to continue...
------------------------
even after running 'fixboot' from rescue mode on...
Hi All,
I have a form with two drop down menus, the values of which I want to add into a URL that is loaded in a pop-up window.
Here is the form I am using:
<form>
<select name="quantity">
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>...
Doh, I copied and pasted the wrong error. This is the error I get:
[root@poop root]# mount -tsmbfs -ousername=administrator,password=hellfire,uid=will,gid=will,workgroup=LINGUAPHONE //file2/DEIntranet /home/will/smb/de
16035: tree connect failed: ERRDOS - ERRnoaccess (Access denied.)
SMB...
I was under the impression that this was a share definition:
[DEIntranet]
comment = DirectEnglish Intranet
path = /shares/directenglish
valid users = @DirectEnglish
read only = No
Correct me if I am wrong.
Will.
will@hellacool.co.uk
http://home.hellacool.co.uk/
Hi all,
I am having a problem authenticating against a samba server that hopefully is using winbind to get the usernames and passwords from an NT PDC. I am using samba Version 3.0.0-15 from fedora linux. Here is the output of my testparm:
[root@file2 samba]# testparm
Load smb config files...
Well, you could try using something like Mail::Mailer to send the details:
http://search.cpan.org/~markov/MailTools-1.60/Mail/Mailer.pm
although somethimes there is no need to re-invent the wheel, the nms-cgi formmail is very good:
http://nms-cgi.sourceforge.net/
Will.
will@hellacool.co.uk...
Thanks everyone, I had the arguments to sscanf wrong, this is correct:
sscanf(argv[1],"%s",string);
I was pulling my hair out ;) Not homework though, writing a simple program to help decrypt ceasar ciphers just for fun.
Will.
will@hellacool.co.uk
http://home.hellacool.co.uk/
Hi,
I have a bit of a problem passing command line stuff to my program in Linux. Here is the program:
#include <stdio.h>
#include <string.h>
int main(int argc, char *argv[]) {
char string[100];
//here
sscanf(string, "%s", argv[1])...
Could be. Try running apache with the X flag (I think) when debugging mod_perl problems:
# httpd -X
it should only start up 1 process and will make debugging easier.
Will.
will@hellacool.co.uk
http://home.hellacool.co.uk/
Mornin' all,
If the file is a CSV file then you will need to watch out for newlines embedded in the data. If the input record seperator is a newline and you aren't checking for newlines embedded in the data then you are going to get corrupted data.
So there.
Hello Barbie, I don't know you...
It works if I put the scriptalias back in for /stats/statistics/, but then the authentication doesn't work. will@hellacool.co.uk
http://home.hellacool.co.uk/
Yep, that is what I tried first (see the first post). It worked fine except the authentication didn't seem to work at all.
Will. will@hellacool.co.uk
http://home.hellacool.co.uk/
OK, I don't think you completely understand the problem. Apache finds the script fine if I don't reference it in the URL. If I go to:
http://somefakedomain.com/stats/statistics/
or:
http://someotherdomain.com/stats/statistics/
it executes the script, but if I go to...
Yep, paths to the .htaccess/.htpasswd files are fine.
I have tried to get the system working with the previous config (see my first post in the thread for details). I am trying a different approach. I have given every virtualhost a statistics directory inside their /stats directory...
That would mean using the same .htaccess and .htpasswd file for every user which I want to avoid. The /stats directory is in every users account, the /stats/statistics directory is shared between all of the virtualhosts.
Will. will@hellacool.co.uk
http://home.hellacool.co.uk/
Hi All,
I have a script located in:
/srv/www/cgi-local
that I want available to all users, it is basically awstats and it shows different statistics depending on the URL that it is accessed with. To achieve this I have this Directory directive:
<Directory "/srv/www/cgi-local">...
Yes to all of your questions. Have a look at the LWP and LWP::Simple perl modules (http://search.cpan.org) and maybe the Perl and LWP book:
http://www.oreilly.com/catalog/perllwp/
It is possibe to respond to perl programs on the command line, but I have never written one of these myself so I...
Well, it means that there is nothing wrong with MySQL. If you are not confident on the command line the try installing phpMyAdmin, it is a great tool to use with myswl.
Will. will@hellacool.co.uk
http://home.hellacool.co.uk/
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.