Is it possible to move all the files to a current existing partition? Then resize the partition and move everything back? Redhat Linux 7.2 (ext3)
In details :
When I initially created partition, I had wrongly allocated more space for /var partition....which I was suppose to allocate for /home...
I am using following code in my srm.conf, which works fine but it only puts header & footer for a www.mydomain.com
<FilesMatch "\.(html|htm)$">
SetHandler perl-script
PerlHandler Apache::Sandwich
PerlSetVar HEADER "/my_header.html"
PerlSetVar FOOTER...
I have just upgraded our web server from RedHat 6.2 to 7.2 ....
Everything went fine.....server is up and running.....new kernal(2.4.7-10) is installed. BUT now quota system is not working.
It used to work fine in RH 6.2 server.
Whe I reboot my server I get following message:
quotaon...
Is there any way to retrieve local PC IP address of user in C prg.?
I would like to track the users on our website, also to block if someone tries to flood messages in the forum.
All I need is to get his IP address when he logs in the forum. Is there any function to retrive IP address of user...
I need help on the following perl module which displays last modified time in all html pages of "/home/perlguy/test" dir. I am using Apache Webserver.
Prg. search for <BODY> tag if found prints Last modified time
package Apache::Mytest;
# file Apache::Mytest.pm
use strict vars;
use...
Can you or someone suggest some changes in the above code that will improve performance or will make my code shorter. I wish someone could help me here. waiting....
regards
perlguy
Thanks rbobbitt. Apreciated. I have downloaded and tested my C prg. I am also seaching for other tools on net.
Please see my new post(thread - Need best & short solution) in this C forum where I have posted my 'C' code for which I am looking more efficeint and tight code.
Hope you find any good...
I have wrote the following C prg. to display random record contents from text file 'pix.db'. It generates random num from 1 to 10 and then fetches corr. record from 'pix.db'
File pix.db format: (note '|' is my field sepator)
ID|pix file|pic name
for example:
1|pix1.gif|pix1name...
Does anybody know tool for testing C programs. To be more specific I have written some C program using pointers, compiled them....no errors....no run problem at all. BUT I would like to know how efficeint my C programs are.
Is there any tool that checks memory leaks, prg. speed....etc.
Thanks...
Hi rycamor,
I tried your way but did not worked. BUT I have found another way to do it which is working but I DO NOT know whether this is allowed/worked in all the browser (I mean older version of IE/NE) The following code is tested on IE 5.00+ and NE 4.7+ . It is working !! But some...
Sorry but forgot to mention one last thing i.e. somehow browser cache causing problem to execute ..... I mean I added my code in 5 different html pages. when I visit to lets say '1.html' the code executes and gives me random banner , then I go to '2.html' it gives me the same banner taht was on...
Hi everyone,
Thanks for all your help. "rycamor" is in right direction, that is what I wanted (in his words):
There is absolutely no problem outputting valid Javascript from a CGI, SSI, or any server-side activity, as long as what is output fits the bill for client-side Javascript...
so what if I just put following lines in my html page
<SCRIPT SRC="mydomain/cgi-bin/banner.pl" LANGUAGE="JavaScript"></SCRIPT>
my banner.pl will print the whole table contents.....
Is it legal in Javascript ..... Will it work in all browser IE / NE .....
Any suggestions...
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.