Php Custom Error Log
Nov 5, 2008
I have a customer who wants to log the errors of his site in his domain's folder. How do i do that?
I have enabled error logging in php.ini they are stored in /var/logs/php_errors, but i don't wanna change that.
how do i do to put only his php errors on a file of his folder?
i use cpanel on a centos box.
View 1 Replies
ADVERTISEMENT
Jun 2, 2009
I have configured a custom 500.100 Error for one of my web sites in IIS 6.0. However, the custom error page appears nested within the HTML of the page throwing the error, at the point the error occurs.
This is problematic as live errors are being overlooked when they appear late in the script as the majority of the page outputs normally.
On my development server IIS 5.1 this does not happen. The Custom Error Page is shown as its own page. The errors cannot go unnoticed.
How can I change IIS 6.0's Customer Error to behave like my development server, and do it just for the one web site concerned?
View 2 Replies
View Related
May 17, 2007
I am trying to control access to an asp page by using windows resource groups. The virtual directory in IIS has both 'Integrated Windows Authentication' and 'Basic Authentication' checked.
When an unauthorized user tries to access this page, it prompts thrice for the user ID and password before going to the 'user not authorized' page. I want it to display the error the very first time an unauthorized user tries to access this page and not ask him thrice before throwing the error page.
The operating system being used is Windows 2003 server.
View 0 Replies
View Related
Oct 24, 2009
Installed plesk to my Centos VPS, I created Domain, and unselected Custom Error Documents, as i wanted to use htaccess for that since pleask custom error doese not support php files.
in my htaccess inserted.
ErrorDocument 400 /error/bad-request.html
ErrorDocument 401 /error/unauthorised.html
ErrorDocument 403 /error/forbidden.html
ErrorDocument 404 /error/file-not-found.html
ErrorDocument 500 /error/internal-server-error.html
But when test the errors by visiting un-found page in my site, i do not get the error 404 page, and banned my self from my site to try if page 403 shows up , and it did not ..
All the errors Shown instaed of the pointed page the Borwser shows the custom Error from the borwser, For Example if you use Google browser.
HTTP 404 - File not found
This link appears to be broken.
View 2 Replies
View Related
Nov 30, 2008
My site is hosted on a friends server, which is in his office on a 24MB Business ADSL connection, and is running Server 2003 Enterprise.
I thought i'd try and set up custom error pages for my site last night, but for whatever reason, I can't get them working.
I did a test page with random text, and named it 404.htm.
I then did a file with the following in:
<Files .htaccess>
order allow,deny
deny from all
</Files>
ErrorDocument 404 /404.htm
I then renamed the file to .htaccess after uploading both of the files.
However, when I tried entering a non existant page url, the normal IIS 'page cannot be found' error came up.
In addition, the .htaccess file was still visible when I connected via ftp again.
Now I think of it, I can understand the file not ending up invisible, since files with a . in front are most commonly used on *nix OS's.
However, that wouldn't explain the error page not working.
Is there something I need to get the person who owns the server to do to get it working, or am I doing it completely the wrong way for a Windows machine?
should have done a search before posting really.....I was doing it the wrong way, and I will need to get him to do it, as it needs setting up in the IIS config.
View 14 Replies
View Related
Aug 13, 2008
i have a server with whm/cpanel and would love to have custom error pages that work server wide not just for a specific domain. I have tried adding the "ErrorDocument 404 errors/404.htm" to the httpd.conf file but it doesn't work.
I have no trouble getting custom errors to work for a specific domain but can't seem to get it to work server wide.
Has anyone else tried to tackle this and actually had success?
View 3 Replies
View Related
Jun 20, 2007
Has anyone experienced those sneaky AdSense serving custom error pages from his/her hosting company?
I have seen 1&1 doing it.
View 1 Replies
View Related
Aug 1, 2007
=The last line in the .htaccess file is
ErrorDocument 404 [url]
If someone tries to view a page that does not exist in the web site, the Custom 404 Error Page is displayed, properly.
I am trying to get Google to verify that I am the owner of this site (so I can use their Webmaster tools), and I have placed a page with a name they specified, in the site. Their verification fails, because, 'We've detected that your 404 file (file not found) error page returns a status of 200 (Success) in the header.' They need a status of 404 in the header of 404 pages. Note: Google does a HEAD request (not a GET request).
Also, I have noticed in the Webalizer statistics, there are no 404 codes listed with the other response codes! I know the Custom 404 page is getting a lot of hits, but, they are not shown in the statistics, because the wrong code is being sent.
The web site is small and the Custom Error page is with the other pages. I'm using MS FrontPage 2000.
Question: What do I need to change that line to, to get this to work properly, for Google and for my Webalizer statistics? Apache/1.3.27 (Unix)
View 10 Replies
View Related
Jan 19, 2015
Would like to know how to implement css and images to work with custom error documents. For some reason the folders are ignored even with the correct path being entered within the html. Only plain text appears.
View 2 Replies
View Related
Nov 5, 2013
All settings of the custom error page were made and worked correctly, however the next day the setting was lost after reset again and returned to work.
But stopped working again, I use Plesk 11...
View 2 Replies
View Related
Dec 3, 2008
I'm not sure if this is the right forum, or if anyone can suggest a message board where I might get support on this.
This is what I have. I have Apache and IIS both running on Windows 2k3.
Apache is running in reverse Proxy mode sending multiple domains/virtual hosts to IIS.
Code:
ProxyRequests Off
<VirtualHost *:80>
ProxyPreserveHost On
ProxyPass / http://localhost:8080
ProxyPassReverse / [url]
ServerName mydomain.com
</VirtualHost>
Now, if I type in [url]everything works great and IIS (listening on 127.0.0.1:8080) serves the page. However, I am doing custom error trapping, so when I type in [url](and /mydirectory doesn't exist on IIS) I need to fire ASP code (via custom error messages/handling) on the IIS server and then present a data driven page.
However, Apache is returning A 502 error:
Code:
Proxy Error
The proxy server received an invalid response from an upstream server.
The proxy server could not handle the request GET /mydirectory.
Reason: DNS lookup failure for: localhost:8080mydirectory
Is there a way for me to setup Apache to pass all error checking to IIS while using it as a reverse proxy?
View 0 Replies
View Related
Jun 29, 2013
After upgrade to Plesk 11.5.30 trying to set up FTP-Backup Repository:
Repository error: Transport error: unable to list directory: Curl error: Access denied to remote resourceClick to expand...
View 7 Replies
View Related
Jun 12, 2009
I would like to know how to allow customers to use their own php.ini file. I have had hosts in the past that allowed you to use a custom php.ini file so long as you put it in every directory that you would need to use it.
I was just trying to figure out how this is done as I am new to all of this and trying to learn.
View 3 Replies
View Related
May 18, 2008
I'm using CentOS 5, Cpanel/WHM with php as cgi, when i try to put a php.ini file to to custom php for one account and it overwrite main setting on our server, someone use this bug to run c99 and try local attack other account, i've try fix this problem by edit /opt/suphp/etc/suphp.conf and set phprc_paths to /usr/local/lib/. But when i do this, php.ini in my custom account doesnt work any more... How can i custom php for one account and it not effect to main setting to prevent local attack?
View 3 Replies
View Related
Mar 15, 2007
I have a reseller account on a server, and I have a client who needs to used a custom php.ini file to set the session.save_path variable. He has created this file and placed in the public_html folder, but this path still comes up as 'No Value' and the Configuration File Path still reads '/usr/local/Zend/etc/php.ini '.
What do I need to do to get this site to read from the correct php.ini file? I tried setting this in the .htaccess file, to no avail.
View 9 Replies
View Related
Jun 25, 2007
I have a question .. does it effect to any service if i use .biz extension as a custom DNS instead of .com or .net extensions
View 10 Replies
View Related
Jun 24, 2009
We just got a dedicated server, my first time messing with anything dedicated though I've had WHM before. I have 4 domains I'd like to setup to point to this. But I'd prefer our company URL to host the name servers. Domains are registered through enom who will allow me to setup the name servers.
I'm trying to use the "Nameserver IPs" section in WHM to setup the name servers but it just sits and "works" but never actually finishes. Does my company URL need to be pointing to the server before doing this?
View 2 Replies
View Related
Jul 23, 2008
how I can create an FTP site with a customized footer with some text and a URL in?
The FTP site as it is now is vanilla and only shows the Apache version at the bottom.
View 6 Replies
View Related
Nov 1, 2007
I'm just starting doing web pages as a side business. What I'm wondering is if I should pay for the monthly fees for the web hosting and just charge the customer for design and maintance?
or
Should I get the customer to buy their own web hosting and the site gets uploaded to that site and they pay for the hosting?
As you can see I'm really new to this. I'm thinking of getting the "power" plan from [url]so I can upload and create multiple websites for different customers?
What do you people typically do for small business maybe only 2-5 customers?
View 14 Replies
View Related
Sep 14, 2007
(x.com = replacement for my actual domain)
I am currently in the process of transferring my sites to a new host (Liquidweb). On my old server I used my host's nameservers, whereas Liquidweb STRONGLY recommends (two or three times in the "account info" email) that I create custom ones on their server.
So for one of my domains, I created an account in WHM, created ns1 and ns2 nameservers in WHM, created the nameservers for the domain (in Tucows/Opensrs) and changed the domain to use it's own nameservers. (ie x.com uses ns1.x.com & ns2.x.com) That all seems be working fine now; ie, typing x.com in my browser resolves to the new server.
This would lead me to believe that the new nameservers are ready to use and that I should be able to start using them for other domains too. But when I try to change the nameservers for any of my other domains in Opensrs I get this message:
"Unable to update nameservers: Nameserver ns1.x.com doesn't exists in the registry"
I would normally assume that the new nameservers just haven't propagated yet. (It's been 24-36 hours since I originally created them in Opensrs.) However, x.com is currently resolving correctly, and it's using ns1.x.com & ns2.x.com ... so why wouldn't I be able to change other domains to also use ns1.x.com & ns2.x.com?
Here's a WHOIS I just ran on completewhois.com for ns1.x.com:[NAMESERVER whois information for NS1.X.COM ] [rs.internic.net] Whois Server Version 1.3 Domain names in the .com and .net domains can now be registered with many different competing registrars. Go to[url] for detailed information. Server Name: NS1.X.COM IP Address: 72.52.###.### Registrar: TUCOWS INC. Whois Server: whois.tucows.com Referral URL: [url] >>> Last update of whois database: Fri, 14 Sep 2007 20:01:24 UTC <<< [whois.biz] Not found: NAMESERVER NS1.X.COM >>>> Whois database was last updated on: Sat Sep 15 00:33:44 GMT 2007 <<<<I don't mind waiting if the nameservers just have to propagate (is that why it says "not found" there?), but if that's the case why is my x.com site already resolving correctly using the new nameservers?! Is it just because its using its own nameservers? (If that makes any sense ...)
I have WHM/CPanel installed, that's what I used to add the nameservers and so on.
View 4 Replies
View Related
Mar 1, 2007
I'm trying to configure my newly acquired VPS and am having a hell of a time with it.
I will be hosting several sites on this server, so I've ordered an extra IP so that I can run my own custom nameservers (and Lee doesn't have to bother with adding my domains to his system)
At my registrar, I've created two new nameservers (ns1.thatscriptguy.com and ns2.thatscriptguy.com) and pointed them to my server. I've added the additional IP to the system as eth0:0 and configured the domain. Here is a copy of my /var/named/thatscriptguy.com.hosts
Code:
$ttl 30M
thatscriptguy.com. IN SOA ns1.thatscriptguy.com. kevin.thatscriptguy.com. (
1172728392
10800
3600
604800
30M )
thatscriptguy.com. IN NS ns1.thatscriptguy.com.
thatscriptguy.com. IN A 66.90.121.92
thatscriptguy.com. IN NS ns2.thatscriptguy.com.
ns1.thatscriptguy.com. IN A 66.90.121.92
ns2.thatscriptguy.com. IN A 66.90.121.253
www.thatscriptguy.com. IN CNAME thatscriptguy.com.
mail.thatscriptguy.com. IN A 66.90.121.92
mail.thatscriptguy.com. IN MX 1 thatscriptguy.com.
View 2 Replies
View Related
Apr 24, 2007
Where could I find the following or how much would a custom plan with the following details cost:
Fair share of a decent cpu(s)
256mb RAM guaranteed
5-6gb space
100-250gb bandwidth
That allows:
IRC usage
Low-resource game server (9-13mb RAM, 2-5% cpu usage).
View 0 Replies
View Related
Jan 8, 2007
I recently signed up for hosting with ASO on a shared hosting plan with intentions to operate an SMF forum. Prior to going live, I would like to prepare for a possible upgrade to a VPS in the near future if the forum exceeds allowed resources on the shared platform, specifically the MySQL connections which appears to be set at 40. I am currently utilizing the ASO nameservers and was wondering the following:
If I setup custom nameservers at Namecheap and request likewise from ASO, when it comes time to switching to a VPS, can I perform the following and anticipate downtime only during steps 2 & 3?
1) Configure the VPS (including DNS)
2) Switch forum to maintenance mode and transfer data to VPS
3) Change the customer nameserver IP addresses at Namecheap
Basically, I want to verify that I won't experience the 24 to 48 hrs of downtime associated with changing nameservers. Additionally, are there any known disadvantages of having custom nameservers on a shared hosting plan?
View 1 Replies
View Related
Jul 27, 2009
I've got a Domain with Name.com. I have just introduced a new service into my website which is the google @ Doamin.com.
When ever i go to change my MX Records, The name control panel tells me that before i can do that i need to change my Nameservrs to;
NS1.Name.com
NS2.Name.com
NS3.Name.com
NS4.Name.com
But when ever i do that, it ofcorse makes the domain unreachable.
So how can i get it so that I have My custom nameservers
NS1.Fagex.net
NS2.Fagex.net
With these MX Records;
Record Type
Record Host
Record Answer
TTL
Priority (MX only)
MX leave blank ASPMX.L.GOOGLE.COM. leave blank10
MX leave blank ALT1.ASPMX.L.GOOGLE.COM. leave blank 20
MX leave blank ALT2.ASPMX.L.GOOGLE.COM leave blank20
MX leave blank ASPMX2.GOOGLEMAIL.COM. leave blank 30
MX leave blank ASPMX3.GOOGLEMAIL.COM. leave blank 30
View 9 Replies
View Related
Feb 19, 2007
what changes we are supposed to do the server to provide our reseller their own custom nameservers? we do have management companies hired for issues but i really feel i should know this too.
View 3 Replies
View Related
Apr 22, 2009
I have a Plesk VPS hosting 2 domains. I would (ideally) like to have both domains have dedicated IPs in addition to custom nameservers (custom to both names... ns1/ns2.domain1 and ns1/ns2.domain2). How many IPs in total would I need for this configuration? 4? How many if only one is dedicated? Or neither is dedicated?
View 7 Replies
View Related
Jul 12, 2009
I would like to create custom nameservers for a Server i just purchased. I seem to be getting unclear messages from my Host & Domain registrar on what the process should be.
I have [url] registered. i would like to be able to provide [url]& [url]etc. to clients to use as nameservers.
i have no other servers hosting nor do i have a DNS created somewhere's else? what should be the process in getting these created?
View 7 Replies
View Related
Nov 5, 2009
I would like set backup for my vps in a specific way but it seem is not possible..
I would like set weekly backup for the whole vps accounts. This can be set easily by choosing "weekly" and by ticking Retention option Monthly..Like that daily and monthly backup will be not performed and only weekly backup will be done...well. Now I would like allow for some specific account more interval like also daily or also monthly or also daily and monthly...
This seem to be not possible under WHM....I see only the option to choose some specific account to make or not backups...but not to choose more interval..
So I must probably do that manually and set a cron job for the specific account I need but not see exactly how I must do..In fact am not very confident with SSH and I don't know exactly what code to type...
View 1 Replies
View Related
Jun 7, 2009
I have a server that has Cpanel doing nightly backups using the built in auto backup tool in WHM. However, I have one account on the server with a 7 GB database. Everytime this database was dumped to the backup it would lock the database from users accessing it for about 30 minutes.
So instead, I'm now using a slave/master replication setup to do the database backup incrementally and have excluded this account from being backed up every night.
However, I would still like to be able to back up the account itself. Is there a way to setup a unique cron task to backup just this one account and skip the mysql database export?
Does cpbackup do anything more than just zipping up the account's folder in the home directory? Or are there other files it needs to keep in order to do a restore?
View 3 Replies
View Related
Apr 7, 2008
Quite often here people suggest negotiating a custom package.
I did that several years back and it has survived a couple of host ownership changes but now it is not being honored by the latest owner.
The price went up without notice (other than a bigger invoice, received too close to the notice period to do anything), and key features I needed have been withdrawn.
I don't suppose I have much option but to move on.
What experience do others have of this?
And for those of you who sell, and maybe have taken on clients from a previous owner, what would your attitude to long term customers be?
View 11 Replies
View Related