Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am note quite good at Apache, and trying to tweak the settings.
I randomly put an incorrect url, and it gives a page 'Requested URL not found'. Can any one please tell me the location of this page? I want to replace/update it the page.
I am note quite good at Apache, and trying to tweak the settings.
I randomly put an incorrect url, and it gives a page 'Requested URL not found'. Can any one please tell me the location of this page? I want to replace/update it the page.
Thanks in advance.
The default location for application in an Apache installation is /var/www/html or /usr/local/apache2/htdocs
Make sure you have your directory placed here in "/var/www/html" or "/usr/local/apache2/htdocs" and it has an index.html or index.php file
in your case, the folder structure, should be like this "/var/www/html/manual1" or "/usr/local/apache2/htdocs/manual1" and an index.html file inside "manual1" directory
Thank U,
Sandeep Sadanandan www.technixglobal.com www.technix.in
Last edited by sandeepmzc; 06-03-2013 at 04:17 AM.
If you are using PHP , another approach can to use some sort of framework like zend , CodeIgnitor etc which lets you customize different error pages for different projects.
What I was trying to tell you is instead of hard coding your error pages directly in your apache module , you can use a framework to work on your projects and create project specific error pages.
Well I won't call it a hack. Rather a trick which many PHP web programmers have migrated to and besides good frameworks saves a lot of time. Let me know if you are looking for something similar in other language.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.