I used "VeraCrypt Setup 1.23-Hotfix-2" to build a encrypt file before. Today I change to "VeraCrypt Setup 1.24-Update-4" and decrypt the file. File can be decrypted and I can see and read the content inside. However, I cannot access the folder through apache web server. Initially I think I do something wrong in apache config file. When I change VeraCrypt from 1.24 to 1.23, everything becomes work again.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
There's a lot of knowledgeable people who try to help on this forum, but few of us are psychic! Youll need to provide a lot more information before anyone can possibly help you!
I run an Apache webserver, so if it is related to that, I may be able to help. If it's related to VC versions, I won't be able to (since I'm still running VC 1.23, and I don't serve content on my server from mounted, decrypted VC volumes, so can't test VC version changes there).
I assume you are trying to mount a volume, which, when mounted (decrypted) serves content for a webserver that you run. Is that the case? We'll need to know (at least!):
a. is the server running on the same PC as the mounted volume?
b. what drive letter is the volume mounted to, when you 'see and read the content' normally (ie from File Explorer?)
c. what is the configuration directive, that makes that content visible to Apache? And is that in server-wide config files (eg httpd.conf) or 'local' ones (eg .htaccess)?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Originally, I have a encrypted file that created by Veracrypt 1.2.3 Hotfix 2. The file contains all web files, and protected by a key file and password. Then I mount this encrypted in T drive. Use apache alias to access the content for T drive. Everything goods for version 1.2.3 Hotfix 2.
I assume you are trying to mount a volume, which, when mounted (decrypted) serves content for a webserver that you run. Is that the case?
Yes I am.
a. is the server running on the same PC as the mounted volume?
Yes, same PC but in different drive. XAMPP installs in C drive and web content is in D drive.
b. what drive letter is the volume mounted to, when you 'see and read the content' normally (ie from File Explorer?)
T drive in Veracrypt. Then use apache alias to access the web content.
I can see the content in File Explorer. However, I try at web browser, firefox and chrome. I can see one of folder only, the other folder lost.
**c. what is the configuration directive, that makes that content visible to Apache? And is that in server-wide config files (eg httpd.conf) or 'local' ones (eg .htaccess)?
**
For apache, the configuration contains alias statement:
Alias /users "T:/users"
<directory "t:="" users"="">
Options Indexes FollowSymLinks Includes ExecCGI
AllowOverride All
Require all granted
</directory>
For lost folder mentioned in part (b), there is a .htaccess
RewriteEngine On
RewriteRule ^(.*)/$ ?u=$1
<filesmatch "\.(jpg|jpg)$"="">
ExpiresActive Off
Header set Cache-Control "private, no-cache, no-store, proxy-revalidate, no-transform"
Header set Pragma "no-cache"
</filesmatch>
Today I receive your message and try to check the problem. The problem is gone and I cannot dulpicate the problem again. Both Veracrypt 1.2.3 and 1.2.4 and working properly with my codes.
I remembered I just reinstalled the Windows from 1903 to 1909 last week. I am not sure is it the reason or not. Anyway, thank you for your help.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I used "VeraCrypt Setup 1.23-Hotfix-2" to build a encrypt file before. Today I change to "VeraCrypt Setup 1.24-Update-4" and decrypt the file. File can be decrypted and I can see and read the content inside. However, I cannot access the folder through apache web server. Initially I think I do something wrong in apache config file. When I change VeraCrypt from 1.24 to 1.23, everything becomes work again.
There's a lot of knowledgeable people who try to help on this forum, but few of us are psychic! Youll need to provide a lot more information before anyone can possibly help you!
I run an Apache webserver, so if it is related to that, I may be able to help. If it's related to VC versions, I won't be able to (since I'm still running VC 1.23, and I don't serve content on my server from mounted, decrypted VC volumes, so can't test VC version changes there).
I assume you are trying to mount a volume, which, when mounted (decrypted) serves content for a webserver that you run. Is that the case? We'll need to know (at least!):
a. is the server running on the same PC as the mounted volume?
b. what drive letter is the volume mounted to, when you 'see and read the content' normally (ie from File Explorer?)
c. what is the configuration directive, that makes that content visible to Apache? And is that in server-wide config files (eg httpd.conf) or 'local' ones (eg .htaccess)?
Thank you, Adrian
Let me explain the probem in detail:
Originally, I have a encrypted file that created by Veracrypt 1.2.3 Hotfix 2. The file contains all web files, and protected by a key file and password. Then I mount this encrypted in T drive. Use apache alias to access the content for T drive. Everything goods for version 1.2.3 Hotfix 2.
I assume you are trying to mount a volume, which, when mounted (decrypted) serves content for a webserver that you run. Is that the case?
Yes I am.
a. is the server running on the same PC as the mounted volume?
Yes, same PC but in different drive. XAMPP installs in C drive and web content is in D drive.
b. what drive letter is the volume mounted to, when you 'see and read the content' normally (ie from File Explorer?)
T drive in Veracrypt. Then use apache alias to access the web content.
I can see the content in File Explorer. However, I try at web browser, firefox and chrome. I can see one of folder only, the other folder lost.
**c. what is the configuration directive, that makes that content visible to Apache? And is that in server-wide config files (eg httpd.conf) or 'local' ones (eg .htaccess)?
**
For apache, the configuration contains alias statement:
Alias /users "T:/users"
<directory "t:="" users"="">
Options Indexes FollowSymLinks Includes ExecCGI
AllowOverride All
Require all granted
</directory>
For lost folder mentioned in part (b), there is a .htaccess
RewriteEngine On
RewriteRule ^(.*)/$ ?u=$1
<filesmatch "\.(jpg|jpg)$"="">
ExpiresActive Off
Header set Cache-Control "private, no-cache, no-store, proxy-revalidate, no-transform"
Header set Pragma "no-cache"
</filesmatch>
Today I receive your message and try to check the problem. The problem is gone and I cannot dulpicate the problem again. Both Veracrypt 1.2.3 and 1.2.4 and working properly with my codes.
I remembered I just reinstalled the Windows from 1903 to 1909 last week. I am not sure is it the reason or not. Anyway, thank you for your help.