@mariosipad,
Ok, here is where I am at now...
First, just an FYI for QNAP users. The htpasswd program is not in the run path on QNAP for some reason. I had to point to it as in:
Code:
/mnt/ext/opt/apache/bin/htpasswd
Then I was able to enter my login info and one other into a new .htpasswd file here:
Code:
[/share/Web/cops] # ls -la
drwxrwxrwx 8 admin administ 4096 Jan 19 09:06 ./
drwxrwxrwx 6 admin administ 4096 Jan 19 09:37 ../
-rw-r--r-- 1 admin administ 2606 Jan 19 08:30 .htaccess
-rw-r--r-- 1 admin administ 91 Jan 19 09:09 .htpasswd
Note: The original .htaccess, with the first line back in it, is still in the /share/Web/cops folder.
I then uncommented the lines per your last post.
Then created a new .htaccess file in the /share/Web folder here:
Code:
[/share/Web] # ls -la
drwxrwxrwx 6 admin administ 4096 Jan 19 10:04 ./
drwxrwxrwx 30 admin administ 4096 Jan 15 03:00 ../
drwxrwxrwx 2 admin administ 4096 Jan 16 14:09 .@upload_cache/
-rw-r--r-- 1 admin administ 42 Jan 19 09:37 .htaccess
drwxrwxrwx 2 admin administ 4096 Jan 18 10:20 @Recycle/
lrwxrwxrwx 1 admin administ 37 Jan 15 09:26 COPS -> /share/CACHEDEV1_DATA/.qpkg/COPS/COPS/
drwxrwxrwx 8 admin administ 4096 Jan 19 09:06 cops/
[/share/Web] #
The contents of .htaccess in the /share/Web folder are:
Code:
RewriteEngine On
RewriteRule ^$ /cops [l]
That should be all the mods completed.
Next, I run "http://mydomain.pagekite.me". The url address line in the browser changed to "http://mydomain.pagekite.me/cops/" and gave me this error:
Code:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, admin@NAS and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Apache Server at mydomain.pagekite.me Port 80
I looked for apache logs, but found nothing with today's time stamp. I also looked for any *.log files with 'server' and/or 'error" in the file name but found nothing.
I suspect there is a log of some kind, but I don't know where to find it...
Is the error because I didn't get one of the above files in the right location...?