Jump to content
View in the app

A better way to browse. Learn more.

The Uniform Server Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

404s

Featured Replies

Moving this to the Programming Forum.

 

Thanks.

 

BTW: Dont understand what you mean? probably has to be used within a if and else statement. if this page is true, go, if false, 404 function :( ?

  • Author

i mean when i try to use the function it does not work.all i get is a blank page when i should get a 404 document.

Probably because the Error Setting is not configured in Apache. You probably have to set it up. It default setting is Off.

 

Can't you just use the easy way, 404.shtml and so on file?

Edit the httpd.conf file and turn the error codes on. Also must have the Error Files, or create yours.

 

All that might not be necessary. Try creating a 404.shtml file in W:/www and test that function again..

THere is also a way using .htaccess that you can set the error page.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

Account

Navigation

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.