thefollower Posted December 23, 2007 Share Posted December 23, 2007 Well as i was asking for help here got some info on htaccess and how to stop people viewing the directories of my files... but i put the .htaccess in my root folder and now i got this: Server error! The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there was an error in a CGI script. If you think this is a server error, please contact the webmaster. Error 500 localhost 12/23/07 23:00:08 Apache/2.2.4 (Win32) DAV/2 mod_ssl/2.2.4 OpenSSL/0.9.8e mod_autoindex_color PHP/5.2.2 Help :| Quote Link to comment https://forums.phpfreaks.com/topic/82969-solved-umm-htaccess-screwed-up-my-site/ Share on other sites More sharing options...
corbin Posted December 23, 2007 Share Posted December 23, 2007 What's in the htaccess file, and if you can read them, what does Apache's error log say? Quote Link to comment https://forums.phpfreaks.com/topic/82969-solved-umm-htaccess-screwed-up-my-site/#findComment-421985 Share on other sites More sharing options...
thefollower Posted December 23, 2007 Author Share Posted December 23, 2007 It has : Options - Indexes And my error log is: [sun Dec 23 23:00:00 2007] [alert] [client 127.0.0.1] C:/xampp/htdocs/.htaccess: Illegal option [sun Dec 23 23:00:01 2007] [alert] [client 127.0.0.1] C:/xampp/htdocs/.htaccess: Illegal option [sun Dec 23 23:00:02 2007] [alert] [client 127.0.0.1] C:/xampp/htdocs/.htaccess: Illegal option [sun Dec 23 23:00:05 2007] [alert] [client 127.0.0.1] C:/xampp/htdocs/.htaccess: Illegal option [sun Dec 23 23:00:06 2007] [alert] [client 127.0.0.1] C:/xampp/htdocs/.htaccess: Illegal option [sun Dec 23 23:00:08 2007] [alert] [client 127.0.0.1] C:/xampp/htdocs/.htaccess: Illegal option [sun Dec 23 23:03:49 2007] [alert] [client 127.0.0.1] C:/xampp/htdocs/.htaccess: Illegal option [sun Dec 23 23:03:54 2007] [alert] [client 127.0.0.1] C:/xampp/htdocs/.htaccess: Illegal option So am i stopping everyone access any file in the main folder? In simple terms... Quote Link to comment https://forums.phpfreaks.com/topic/82969-solved-umm-htaccess-screwed-up-my-site/#findComment-421988 Share on other sites More sharing options...
corbin Posted December 23, 2007 Share Posted December 23, 2007 Try Options -Indexes And if the space isn't the problem, then it might be your host has disabled that option. Quote Link to comment https://forums.phpfreaks.com/topic/82969-solved-umm-htaccess-screwed-up-my-site/#findComment-421993 Share on other sites More sharing options...
thefollower Posted December 23, 2007 Author Share Posted December 23, 2007 Fixed.. how come spaces are a problem ? =/ Quote Link to comment https://forums.phpfreaks.com/topic/82969-solved-umm-htaccess-screwed-up-my-site/#findComment-421994 Share on other sites More sharing options...
corbin Posted December 23, 2007 Share Posted December 23, 2007 I guess Apache is just picky ;p. Quote Link to comment https://forums.phpfreaks.com/topic/82969-solved-umm-htaccess-screwed-up-my-site/#findComment-421995 Share on other sites More sharing options...
thebadbad Posted December 23, 2007 Share Posted December 23, 2007 The syntax of all kinds of settings is normally strict Quote Link to comment https://forums.phpfreaks.com/topic/82969-solved-umm-htaccess-screwed-up-my-site/#findComment-421998 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.