syngod Posted March 4, 2008 Share Posted March 4, 2008 Hey i am trying to get .htaccess files on my server. I run apache 2.2 php 5 and mysql 5 but what my problem is i get to the part where you set up the accessfilename because windows is bogus and don't let you name files like that. but it is not in Apace config here is config from about line 328 to 349 where the area to do this is supposed to be. # a file of this type is retrieved from the registry by the same method as # the Windows Explorer would use to handle double-clicking on a file. # These script actions can be configured from the Windows Explorer View menu, # 'Folder Options', and reviewing the 'File Types' tab. Clicking the Edit # button allows you to modify the Actions, of which Apache 1.3 attempts to # perform the 'Open' Action, and failing that it will try the shebang line. # This behavior is subject to change in Apache release 2.0. # # Each mechanism has it's own specific security weaknesses, from the means # to run a program you didn't intend the website owner to invoke, and the # best method is a matter of great debate. # # To enable the this Windows specific behavior (and therefore -disable- the # equivilant Unix behavior), uncomment the following directive: # #ScriptInterpreterSource registry # # The directive above can be placed in individual <Directory> blocks or the # .htaccess file, with either the 'registry' (Windows behavior) or 'script' # (Unix behavior) option, and will override this server default option. # can anyone help Quote Link to comment https://forums.phpfreaks.com/topic/94196-htaccess-unable-to-on-windows-xp/ Share on other sites More sharing options...
syngod Posted March 4, 2008 Author Share Posted March 4, 2008 i forgot to add that i was unable to search the site as the search field comes up with a DATABASE error. Quote Link to comment https://forums.phpfreaks.com/topic/94196-htaccess-unable-to-on-windows-xp/#findComment-482486 Share on other sites More sharing options...
wildteen88 Posted March 4, 2008 Share Posted March 4, 2008 You can create .htaccess files fine in windows. Open Notepad click File > Save As.. type C:\.htaccess in the Filename box. Now select All Files from the File Type pull down menu. Click the Save button and viola a .htaccess file should of been created in the root of the C: drive. Quote Link to comment https://forums.phpfreaks.com/topic/94196-htaccess-unable-to-on-windows-xp/#findComment-483002 Share on other sites More sharing options...
syngod Posted March 5, 2008 Author Share Posted March 5, 2008 thanks i didn't even think about doing it that way Quote Link to comment https://forums.phpfreaks.com/topic/94196-htaccess-unable-to-on-windows-xp/#findComment-483926 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.