‘NEW’ page now working on CRAB

 

Got the NEW page working on the CRAB server……  It was more than likely a side effect of the Apache server upgrade somewhere around the Fedora 18 or 19 upgrade.  Here’s how I did it:

I became root user, then opened a terminal in the requests directory.

# nano .htaccess

Then, I put the following into the file:

Options +Includes
AddType text/html .html .shtml .txt
AddOutputFilter INCLUDES .html .shtml .txt

Saved the file, then restarted Apache as follows:

# systemctl restart httpd

That took care of it, but I think I shall try putting that .htaccess file in CRAB’s document root, as well as the main server document root.  I think that might be a better place for that file.  😀

Bootlegs on CRAB

crab_radio_01

Well, I have been busy the last week or two, segregating existing bootlegs on the station, as well as uploading about 10 GB of new ones, totaling about 45GB so far.  I also have many more to add.  For some reason the ‘NEW’ page doesn’t seem to be working, and I’ll try to resolve that one as soon as possible.  For now, you can just do a search on ‘Bootlegs’, and they will all come up.  Recently, I have added AC/DC, Scorpions, UFO, Jack Bruce, Heart, Deep Purple, and Rainbow as well as some others, with many more on my laptop that need to be tagged and renamed before sending them.  Keep an eye on the Bootlegs, as there is a lot of great music in there!  😉

Yet another issue with Fedora 20. (This is getting old)

Well, tonight, while trying to track down a firewall (I think) problem, I noticed that my messages log file, as well as all the other logs in /var/log/ were not being written, and were at 0 bytes.  Not very useful to tail.  So, I discovered that Fedora was moving away from rsyslog.  I was not happy.  So, I became root and:

# service rsyslog start

That took care of starting the logging back up, and to make sure that it starts after a reboot, I used nano to edit /etc/rc.d/rc.local and this is what I added towards the top of the file:

## Enable logging (Due to Fedora 20 suckiness)

service rsyslog start

THAT most definitely expresses my sentiment.  😉  I’m sure that uncovering these little issues is far from over, and all I can imagine is that Fedora is trying to ‘dumb down’ the OS to make it more like Windows, or Mac OS, in order to get a wider user base.  Might be what the average ‘Point and Click’ user wants, but NOT what I want.  Good thing that I’ve been at this game long enough to figure out how they are trying to tie my hands.  Well, now that I have the source port numbers, I can get back on the road to figuring out my problem, tomorrow.  😉

Fedora 20 upgrade left apache wide-open.

Last night, I discovered that http://crabradio.net/blogold/ wouldn’t load the index.php, and would only load a white screen.  Good thing that I decided to fix it this morning, because I discovered that the apache upgrade left the server ignoring .htaccess files, which allow for password protecting content and directories on the web server.  The result was a ‘wide-open’ web server.  It would only be a matter of time before Google bots and Yahoo spiders would start sucking me dry trying to download the contents of my web system.  Very similar to what happened when a bad symlink allowed open access to the entire filesystem.  Google bots were having a field day with that, and I’m sure would love it again, if I didn’t fix it right away.

Both items were a fairly simple fix in the same section of the /etc/httpd/conf/httpd.conf file.  (First, had to become root user.)

# nano /etc/httpd/conf/httpd.conf

I went to the Directory Directive for /var/www/html and added two lines highlighted in green…..

<Directory “/var/www/html”>
#
DirectoryIndex index.php
#
AllowOverride All

I actually edited the AllowOverride line from ‘None’ to ‘All’.  That line controls what directives can be placed into .htaccess files.  Since apache decided to make it None, it was ignoring them.  Thanks, Apache!  Last thing to do was restart or reload the httpd service.  This is done by:

# service httpd restart

But, since service has been replaced by systemctl, there is no telling when fedora will decide to fully depreciate service.  So, you should probably start getting used to the new command.  It does so much more, anyway.

# systemctl reload httpd

To make sure that it started okay:

# systemctl status httpd

or # service httpd status

Well, everything is now running as it should.  😉

Tech, music, and general ramblings…..