• 0

Error Log


Question

Hi

I am getting errors in cpanel wich im trying to get rid for week now,... whatever i do there here.

[Sun Sep 05 04:01:29 2010] [error] [client IP] File does not exist: /home/public_html/contact-us, referer: http://www.computerfields.com/contact-us/
[Sun Sep 05 04:01:23 2010] [error] [client IP] File does not exist: /home/public_html/our-products, referer: http://www.computerfields.com/our-products/
[Sun Sep 05 04:01:15 2010] [error] [client IP] File does not exist: /home/public_html/our-services, referer: http://www.computerfields.com/our-services/
[Sun Sep 05 04:01:02 2010] [error] [client IP] File does not exist: /home/public_html/about-us, referer: http://www.computerfields.com/about-us/

in htacces i have this:

RewriteRule ^home$ index.php [L]

RewriteRule ^about-us/$ aboutus.php [L]
RewriteRule ^about-us$ aboutus.php [L]

RewriteRule ^more-about/$ about.html [L]
RewriteRule ^more-about$ about.html [L]

RewriteRule ^our-services/$ services.php [L]
RewriteRule ^our-services$ services.php [L]

RewriteRule ^our-products/$ products.php [L]
RewriteRule ^our-products$ products.php [L]

RewriteRule ^contact-us/$ contactus.php [L]
RewriteRule ^contact-us$ contactus.php [L]

RewriteRule ^terms/$ terms.php [L]
RewriteRule ^terms$ terms.php [L]

RewriteRule ^price-list/$ pricelist.html [L]
RewriteRule ^price-list$ pricelist.html [L]

So i can access pages with / on the end or without.

I did try to disable multiviews option (i put -MultiViews on top beside Options) and its still the same,...

May i please get some help on this?

Thank you in advance!

Link to comment
https://www.neowin.net/forum/topic/935518-error-log/
Share on other sites

10 answers to this question

Recommended Posts

  • 0

Adding

RewriteEngine on

above all your .htaccess code would fix it.

BTW, I'm not too sure but if I remember well, you could replace this

RewriteRule ^price-list/$ pricelist.html [L]
RewriteRule ^price-list$ pricelist.html [L]

to this:

RewriteRule ^price-list/?$ pricelist.html [L] 

It should do the job. I've added ? after / and before $

Link to comment
https://www.neowin.net/forum/topic/935518-error-log/#findComment-593113258
Share on other sites

  • 0

Tnx, i did what u suggested and i will leave it , i guess less lines in htacces now ;)

but i am still receiving errors in cpanel,....

i just realized that i didnt CP whole htacces, so i will do it now,... there might be something else making those errors

Options +FollowSymlinks 
RewriteEngine on

# Turn on Expires and set default to 0
ExpiresActive On
ExpiresDefault A0


# Set up caching on media files for 1 year (forever?)
<FilesMatch "\.(flv|ico|pdf|avi|mov|ppt|doc|mp3|wmv|wav)$">
ExpiresDefault A29030400
Header append Cache-Control "public"
</FilesMatch>

# Set up caching on media files for 1 week
<FilesMatch "\.(gif|jpg|jpeg|png|swf)$">
ExpiresDefault A604800
Header append Cache-Control "public"
</FilesMatch>

# Set up 2 Hour caching on commonly updated files
<FilesMatch "\.(xml|txt|html|js|css)$">
ExpiresDefault A7200
Header append Cache-Control "proxy-revalidate"
</FilesMatch>

# Force no caching for dynamic files
<FilesMatch "\.(php|cgi|pl|htm)$">
ExpiresActive Off
Header set Cache-Control "private, no-cache, no-store, proxy-revalidate, no-transform"
Header set Pragma "no-cache"
</FilesMatch>

php_value output_handler ob_gzhandler

ErrorDocument 404 /404.html
ErrorDocument 401 /401.html


<filesMatch ".js$">
AddHandler application/x-httpd-php .js
</filesMatch>

RewriteRule ^(([^/]+/)*[^./]+)$ http://www.computerfields.com/$1/ [R=301,L]

RewriteRule ^home$ index.php [L]

RewriteRule ^about-us/?$ aboutus.php [NC,L]

RewriteRule ^more-about/?$ about.html [NC,L]

RewriteRule ^our-services/?$ services.php [NC,L]

RewriteRule ^our-products/?$ products.php [NC,L]

RewriteRule ^contact-us/?$ contactus.php [NC,L]

RewriteRule ^terms/?$ terms.php [NC,L]

RewriteRule ^price-list/?$ pricelist.html [NC,L]

Link to comment
https://www.neowin.net/forum/topic/935518-error-log/#findComment-593115040
Share on other sites

  • 0

<div class="bottom"><link href="style.css" rel="stylesheet" type="text/css" />

You have that section near the bottom, would think that is causing the issues, change to /style.css or remove as it already exists at the top of the page.

Thank you soooooooooooooo much!!!!!!!!!!!

That line was actually in footer file, added / and BOOOOOOOM, worked!

Thank you ALL for help!

I appreciate this very much!

Link to comment
https://www.neowin.net/forum/topic/935518-error-log/#findComment-593121254
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • Playground Games confirms Forza Horizon 6 save wipe bug by Taras Buria Forza Horizon 6 was launched last month to critical acclaim (check out our review here), and it became a smash hit in an instant. Now, weeks into the launch, with die-hard fans clocking hundreds of hours, Forza Horizon 6 is facing a serious issue: save wipes. After multiple complaints on Reddit and social media, the studio issued a statement. The problem with missing saves came shortly after Playground Games promised the initial batch of gameplay tweaks and improvements. Unfortunately, there seems to be no temporary fixes for those affected by unexpected save wipes. However, the studio published a new support document with a few important steps users should try. First, affected gamers should open a support ticket immediately (go here to file one) so that the support team can try recovering the lost progress by reverting to an earlier save. Playground Games says this should be done the same day the issue occurs. Meanwhile, gamers are urged not to start new play sessions or create new saves. The studio also published a few things gamers should try to avoid to prevent potential progress loss: Ensure your Gaming Services app on PC or XBOX Series X|S console is fully up to date. On XBOX Series X|S consoles, disable Quick Resume for Forza Horizon 6: To disable Forza Horizon 6 from using Quick Resume, highlight the game box art anywhere in the console experience (Home, My Games & Apps, Pins, etc) and then press the Menu button, then go to Manage game and add-ons > Quick Resume settings > Disable Quick Resume. Ensure you are online when ‘quitting’ the game. Give your saved time to sync to the cloud before powering off or switching devices. Do not force quit the game during save screens. Do not power off the device during gameplay. Always "Quit" (console) or "Exit to desktop" (PC) once you've finished your play session, ensuring the save icon is not visible when you’re closing the game. Before turning off your console, shutting down your PC, or force-closing the Steam app, give your devices or clients at least a few minutes to ensure your latest progress has been synchronized with the cloud. This will reduce the risk of progress reversions as you switch between different platforms. XBOX Series X|S consoles, Steam, and the XBOX app on PC all include game save indicators that confirm your progress has been synced. You can read more about the bug in the official support document here. Forza Horizon 6 is currently available on PC (Steam and the Microsoft Store), Xbox Series X|S, and Game Pass. The game is also coming to PlayStation 5 later this year.
    • If only Windows would have a toggle switch labeled "Get the latest updates as soon as possible" inside Windows Update settings... But nah, let's hide the new stuff inside a controlled feature rollout, even if the user is explicitly asking for the new stuff as soon as possible. Awesome idea!
    • After watching the Apple event earlier this week it is quite the contrast. Apple is going back and tweaking the code to make things more efficient in many areas of MacOS. Windows is boosting your electric build to hide their issues.
  • Recent Achievements

    • One Year In
      slackerzz earned a badge
      One Year In
    • One Year In
      highriskpaym earned a badge
      One Year In
    • One Month Later
      highriskpaym earned a badge
      One Month Later
    • Week One Done
      highriskpaym earned a badge
      Week One Done
    • Week One Done
      FBSPL earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      502
    2. 2
      PsYcHoKiLLa
      199
    3. 3
      +Edouard
      157
    4. 4
      Steven P.
      84
    5. 5
      ATLien_0
      74
  • Tell a friend

    Love Neowin? Tell a friend!