Jump to content

HX1

Recommended Posts

I have an odd issue I was wondering about.. noticed this at first when I tried getting to my server via my phone... I noticed that when I try to log in to my apache server ( htpasswd ) IE is the only browser ( besides Opera Mini ) that will allow a sign in.. Then when I get to a directory listing.. The browser tries to download an extensionless file..

For example:

I f I have a directory listing in the root of my server named 'Dir' when I try to load it the browser downloads a file named 'Dir' instead of displaying the directory list of files so I can access or DL...

Looking for a solution... The same thing occurs when I use IE on a computer... FF does fine...

I have looked into several different answers online but without a fix.. Was wondering if it could be in allowed protocols in my router or something in the server conf... OR anything else anyone may know about..

Link to comment
Share on other sites


  • Replies 8
  • Views 1.7k
  • Created
  • Last Reply
  • Administrator

Is there a specific file extension you are trying to access?

Is this issue only in the password protected area or all files accessed?

Link to comment
Share on other sites


Well pages load fine... Directories.. like typical server root without default .html page to load or a folder... try to load as files.. and download.. instead of just showing the header, footer and a list of the files inside...This is after I enter the user and pass...

I haven't tried to reach an individual file because I could not get past the directory or get it to load rather... Nor have I tried to access non protected areas.. Non-protected area do the same as well and tried this on second server with similar conf... I have one htpasswd file and it uses this file within permission set for directory access...

via Example..

<Directory "C:/">    #    # Possible values for the Options directive are "None", "All",    # or any combination of:    #   Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews    #    # Note that "MultiViews" must be named *explicitly* --- "Options All"    # doesn't give it to you.    #    # The Options directive is both complicated and important.  Please see    # http://httpd.apache.org/docs/2.2/mod/core.html#options    # for more information.    #    Options Indexes FollowSymLinks    #    # AllowOverride controls what directives may be placed in .htaccess files.    # It can be "All", "None", or any combination of the keywords:    #   Options FileInfo AuthConfig Limit    #    AllowOverride None    #    # Controls who can get stuff from this server.    #    #Order allow,deny    #Allow from all    Options Indexes FollowSymLinks    AllowOverride None    AuthType Basic    AuthName "Welcome to MUA - Authentication and Encryption Required For Portal"    AuthUserFile "C:\Program Files\Apache Software Foundation\Apache2.2\.htpasswd"    Require valid-user    Order allow,deny    Allow from All</Directory>

This will vary depending on the permissions I want to allow and to who...

Link to comment
Share on other sites


  • Administrator

If no files are being presented correctly, passworded or not, this looks like an apache configuration issue.

Could you post a copy of your httpd.conf?

Link to comment
Share on other sites


EDIT

Okay this is sort of long.. and don't laugh if you see something stupid..LOL I haven't exactly kept up with some newer developments... I haven't been maintaining like I should..shame shame.. :tehe:

Link to comment
Share on other sites


Hi @HX1

Why you use Apache, and what mean this config where you have configurated access to RECYCLER folder, I see a strange configuration, is this a web server or not.

Too you need to use the new version, this Apache 2.2 is deprecated and have bugs with new browsers versions.

Link to comment
Share on other sites


The last time I checked Apache 2.2.25 is the current build for windows... Other Platforms have different build numbers as well... There also are only Windows Binaries for 2.2.22 and ...25 right now.. unless they have updated in the last month or so..

I have noticed that when installing ...25 it will not run.. not for sure why...but ...22 will..

I use Apache in this form because I do not want or need already configured WAMP with SQL and PHP... Just straight out plain Apache for simple file serve..The usage is so that I may run my own web server for my own site(s) for whatever reason I want. Like accessing my files from other places without being sued for uploadiing to a public server or putting them in other people or places hands.. NOT that I may not trust those places.. Like OneDrive is a good idea too.. BUT I have a TeraByte or so of data... and files.. not THAT much but I would like to access it from wherever I may want... Not a server which is always on.. only when I know I need or want it.. ( So that people don't spend hours trying to hack it.. The reason for the end part of that config. I also was able to use several other methods of accessing my data using other means such as FTP and WebDAV.. Local networking enables quick and easy wireless transfer.. The same reason I have a server on my Windows Phone.... I also used to have a ChatServer, Blog and Forum all run FOR ME, BY ME.. Customization was important and function.. I also have used Plone... Apache was nice because it enabled me to also access all of my drives.. I thought about a DNLA Server like TVersity... but my system here is still old and doesn't like all of the work on the single core CPU... I need a new computer for some of the harder work...

Anyway.. why not Apache? Free.. I know so is IIS on the this system... but I am not versed well enough to get it all like I want...

The reason I have all of these in here.. I could actually remove some of them...is to keep access from them you get a forbidden meassge when you go there if I remember correctly... This is a server config.. with the root server Dir set as the C:/ if you noticed.. permissions to some areas are restricted or rather should be.. just in case...BTW Apache will run on a system in which you cannot start... by using a MiniXP disc.. and which case you do not have a drive extra... or handy.. you can pull your files from one system to yours before you destroy the files.. and or your dta you want to keep... ( if you have networking enabled too )

Some of these are useful tricks...Some of it simply enables me to do things that I would like to do without battling all of the crap slinging out there on the interwebz.. legally and otherwise for even backing up your stuff.. and I get around the slow upload rates and hours of waiting.. Faster to config your own server... LOL...

The config copy does seem to be broken in some spots.. missing info.. but I think it has to do with possible filtering here for pasting.. because of what it maybe recognized as... The blacklisting area has not been updated in awhile...

Link to comment
Share on other sites


Its actually Windows 7... :tehe: .. also I do not use SSL... and some of these require the module to be working and setup properly.. which requires quite a bit...

So it would be nice if the most recent build could be straight out like the two versions always built at Apache Software Foundation...

Link to comment
Share on other sites


Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...