Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Locate 403.html and 404.html files on plesk server

Posted on 2007-03-29
7
Medium Priority
?
403 Views
Last Modified: 2012-06-22
Hello,

I have trouble finding my 403.html and 404.html files on my plesk server. Say my server ip address is 162.13.1.2. When someone trying to access a no exist file on http://162.13.1.2/haha.php, server will direct to 404.html, so where is this file located??? Plesk user please kindly help by giving me the full path. thank you
0
Comment
Question by:simoa
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
7 Comments
 

Author Comment

by:simoa
ID: 18816975
Hello,

basically I have changed all vhosts/your-domain.com/error_docs successfully, that guide if for changing domains error doc. What I need is to change the root error docs and helps? thanks
0
 
LVL 51

Expert Comment

by:Steve Bink
ID: 18819662
Do you have access to the server as root?  You'll need it to change those files.  In many installations, you are looking for /etc/httpd/conf/httpd.conf and /etc/httpd/conf/httpd.include.
0
Connect further...control easier

With the ATEN CE624, you can now enjoy a high-quality visual experience powered by HDBaseT technology and the convenience of a single Cat6 cable to transmit uncompressed video with zero latency and multi-streaming for dual-view applications where remote access is required.

 

Author Comment

by:simoa
ID: 18873303
routinet: Hi, I have root access and able to go to /etc/httpd/conf/httpd.conf but there is no /etc/httpd/conf/httpd.include... So in httpd.conf where should I edit? Thanks
0
 
LVL 51

Accepted Solution

by:
Steve Bink earned 320 total points
ID: 18873556
On my server which also uses Plesk, /etc/httpd/conf/httpd.conf has the original examples for the ErrorDocument directives, but they are commented out.  I know Plesk also insert these directives if you enable the "Custom Error Document" property for that domain.  I do not know how you would change the Plesk default error pages...I believe Plesk refreshes a number of files back to the original (like each subdomain's httpd.include).
0
 

Author Comment

by:simoa
ID: 18873570
I guess it cannot be change... I used .htaccess to forward the 403, 404 to the file I want and it works. But the .htaccess need to be place into /var/www/vhosts/default/htdocs.

0
 
LVL 51

Expert Comment

by:Steve Bink
ID: 18873633
That would be the default Plesk domain template.  You can also build a domain template inside Plesk.  Once you alter the files for your template, that configuration will be used for every new domain you create.
0

Featured Post

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In my time as an SEO for the last 2 years and in the questions I have assisted with on here I have always seen the need to redirect from non-www urls to their www versions. For instance redirecting http://domain.com (http://domain.com) to http…
Hi, in this article I'm going to teach you how to run your own site, and how to let people in (without IP). I'll talk about and explain each step... :) By the way, everything in this Tutorial is completely free and legal. This article is for …
This course is ideal for IT System Administrators working with VMware vSphere and its associated products in their company infrastructure. This course teaches you how to install and maintain this virtualization technology to store data, prevent vuln…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
Suggested Courses

670 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question