My script tries to exec() wget but seems to fail (though, no error raises up). What could be the problem? Should I tune PHP somehow? I just installed Apache and PHP on Ubuntu...
In my web.config I have the following:
<customErrors mode="RemoteOnly" defaultRedirect="/error.aspx"/>
When an error occurs, the user is redirected to /error.aspx?aspxerrorpath=/somepage where I can get user's name, name of the page, date, but... I can't get the error message!
I can get it via the OnException method, but then I won't be able to get the name of the page which is very important for me.
How can I get both the page and the error message?
I have set up an Apache server on mandriva linux 2010.1. But the problem is whenever I'm trying to connect with the database, it's giving me the following error:
Error:Database error: SQLSTATE[28000]
[1045] Access denied for user
'root'@'myhostname' (using password:
YES)
Can anyone help in this regard please?
Thanks.
How can I go about adding users/number, changing things from PHP(or python) on an asterisk server?
ps. also are there any better ways to get the current asterisk settings, users, numbers other than scraping the config files?
I am looking at the cruisecontrol web dashboard. I can see one farm and one server. However, I don't see any way to add a project?
Is this something I can do with the UI or do I need to edit the config file by hand?
I need to know whether SharePoint will restore the status of "activated" features when restoring from a catastrophic failure.
Presume the following
- Solution files are correctly deployed
- Config DB is unaffected
Specifically I am thinking at the webapp or site collection level.
Cheers!
So I am a total cakephp newb and one of the first things I expected to see basic info about each page request logged. More specifically, what route data including what controller/method is being used. Obviously I did not find what I was expecting and about the only kind of meaning info I can find is from the apache logs. What I expected was to see something similar to first log entry for a rails app request.
Does cakephp not log this kind of data?
Are there any tools which will notifiy you automatically of any new plugin additions from public maven repositories (e.g. Apache | Codehaus | JBoss | Sourceforge maven repository ...)
I get this message at runtime of ASP.NET 2 page :
The page 'MyFolder/blabla.aspx' cannot use the user control 'MyFolder/MyControl.ascx', because it is registered in web.config and lives in the same directory as the page.
Of course I can separate them to 2 different folders and thus solve the problem, but the question is :
WTF !?!?! Why I can't put them in the same folder ?!
Why can't they all .. get along !?! :)
Thanks
For example, I'd like to not indent namespaces in C++ code, but the prefpane doesn't seem to have any place to make a decision of this granularity. Is there some hidden config file or something? Or am I just out of luck?
Hi
i tried to implement a servlet with servlet (in tomcat 6) which act as as a proxy (for browser), it takes the parsed url, use apache httpclient to get the result & push it back to the client (browser), with http it works well, doesnt work with https , seems the problem concerns unsupported CONNECT method in servlet-api & servlet even doesn't see the request
is there any solution/workaround for this?
thanx in advanced
Hello, I have some template function and I want to call it using define in c++:
#define CONFIG(key, type, def) getValue<type>(key, def);
Of course, it won't work. Could I make something like this?
I've an HEADER.html page and a lots of directories in the same directory and want to show the header.html and dir-listing together at the site index like at this site :
http://www.mirrorservice.org/sites/ftp.apache.org/
in my configuration :
dir-listing.activate = "enable"
dir-listing.show-header = "enable"
it only shows header but not directory listing.
Any suggestions?
I recently upgraded to PHP 5.3 and since then I get (sporadic) error messages which indicate Apache (or may be the cleaner of the session files) has no permissions to the folder where the sessions are stored.
This happens randomly and can't be reproduced with exact steps, which led me to guess it is the session cleaner.
Any one has experience with such errors?
have a VS2005 windows service where i have the need to use 'useUnsafeHeaderParsing' as per documentation from MSDN.
as this is a library used within my windows service, i do not have a web.config to add httpwebrequest element and set useUnsafeHeaderParsing to true.
How would i go about achieving this in code. I tried
link text
and
link text
but that was a no show.
I just signed up for BlueHost and one of their PHP config options is PHP5 (FastCGI).
I'm going to start using Codeignitor for as must as I can and was wondering if I should enable FastCGI or now.
Sorry if this is in the wrong place (vs serverfault.com)
I get a "[notice] child pid 26701 exit signal Segmentation fault (11)" in apache log when I try to do a simple soap request using standard php soap library.
I'm running php 5.1.6 on Centos 5.4
hi,
I need to incrase the php file upload limit of 8MB on an IIS server.
I don't have access to configuration files, so I was wondering how to increase it (I need something similar to .htaccess for apache..
thanks
I'm trying to setup log rotation in rails. I have put this in my environment/development.rb:
config.logger = Logger.new("#{RAILS_ROOT}/log/#{ENV['RAILS_ENV']}.log", 1, 5*1048576)
2 files are created :-) but it looks like rails is writing to them randomly and at the same time as well. This creates messy log files :-( what am I missing?
I am using php 5+,Windows, Apache server.
I have a registration page createaccount.php on whose successful registration I want to show the createaccountsuccess.php page for few seconds only then proceeding to homepage hompage.php by itself..
How Can I do this? please help me....
I need a way to make sure my script won't block the viewed page,
if the server serving the script is down (port 80 is blocked for some reason).
Currently when I test it and take down the server (Apache), or close the firewall,
I see in the browser that it is trying to load the resource (script in that case), without success for long seconds, until it aborts.
Is there a nice way to get past this issue?
I have setup OpenVPN on my server, and I am able to connect to it just fine, and browse the web, etc, from the client box.
If I set the following option in the client config, I can no longer browse the web via domain name:
redirect-gateway def1
On the server, I have run the following command:
iptables -t nat -s 10.8.0.0/24 -A POSTROUTING -j SNAT --to myserver'sIP
but that hasn't changed anything.
Can anyone help suggest something?
Hello,
This is my first app with CI and I want to know whether $_POST is clean and can I directly insert the data into db?
I have enabled $config['global_xss_filtering'] = TRUE;
Thank You.
If i have a website running php and apache, what do i need to be able to attach a scanner to it? How do i get the scanner to fill in a value on one of the webforms on my page?