• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

httpd.conf Question (Redhat linux)

fogleroller

Senior member
How do I make my folders visible?

**DONE**I used to be able to put http://noclownz.dnsalias.net/blablabla/
and view the files in there. I recently reloaded Redhat and I forgot what I need to add/edit in httpd.conf file to make them viewable

Ok, it am able to view the directories, but before, http://noclownz.dnsalias.net/blablabla (no slash at the end) , was not viewable, and with the slash it was viewable. How do i get it to do that again?

I have 2 different machines and the httpd.conf files are identical, but one can view the directories with the slash and not without.
 
You should have a line that says "DocumentRoot" followed by a directory. Now, somewhere else in there should be <Directory foo> where foo is the directory specified after DocumentRoot. Now, inside of that, there should be a line that says "Options". It should have "Indexes" in it. Mine looks like this:

DocumentRoot /var/www

<Directory /var/www/>

Options Indexes Includes FollowSymLinks MultiViews

AllowOverride None

Order allow,deny
Allow from all
</Directory>
 
the abaility to not turn off the music on your page is very annoying. case of nice car shame about the music 🙂
 
Ok, it am able to view the directories, but before, http://noclownz.dnsalias.net/temp2 (no slash at the end) , was not viewable, and with the slash it was viewable. How do i get it to do that again?

I have 2 different machines and the httpd.conf files are identical, but one can view the directories with the slash and not without.

 
Originally posted by: fogleroller
Ok, it am able to view the directories, but before, http://noclownz.dnsalias.net/temp2 (no slash at the end) , was not viewable, and with the slash it was viewable. How do i get it to do that again?

I have 2 different machines and the httpd.conf files are identical, but one can view the directories with the slash and not without.

Dunno... mine only works with the trailing slash.
 
If you make the alias with the trailing slash it's required, if you leave it off in the alias it's not required but works with it.
 
Originally posted by: Nothinman
If you make the alias with the trailing slash it's required, if you leave it off in the alias it's not required but works with it.

Ah, that fixed it 🙂
 
damn, it didnt work for me, can you give me an exaple?

here's what i put

Alias /html/ "/home/httpd/html/"

<Directory "/home/httpd/html/">
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
 
Alias /thedirectory "D:/MP3s/"

<Directory "D:/MP3s">
AllowOverride All
Order allow,deny
Allow from all
</Directory>
 
Back
Top