PHP 5.6.40
Preview: .htaccess Size: 2.05 KB
/var/softaculous/alegro/.htaccess

# Uncomment this to ensure that register_globals is Off
# php_flag register_globals Off

# URL Alias - see install.txt
# Prevent access to .tpl
<Files ~ "\.tpl$">
Order allow,deny
Deny from all
</Files>

Options +FollowSymlinks

<IfModule mod_rewrite.c>
RewriteEngine On

RewriteBase [[relativeurl]]/

# AlegroCart REWRITES START
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*) index.php?$1 [L,QSA]
# AlegroCart REWRITES END

</IfModule>
# Try if you have problems with url alias
# RewriteRule ^(.*) index.php [L,QSA]

# Focus on one domain - Uncomment to use
# RewriteCond %{HTTP_HOST} !^www\.example\.com$ [NC]
# RewriteRule ^(.*)$ http://www.example.com/$1 [R=301,L]

# Hide Apache version normally seen at the bottom of 404 error pages, directory listing..etc.
ServerSignature Off

#Modify max uploadable file size if needed
#php_value upload_max_filesize 128M
#php_value post_max_size 128M

# Enable compression for text files
<IfModule mod_deflate.c>
 <FilesMatch ".+\.(js|css|html|htm|php|xml)$">
  SetOutputFilter DEFLATE
 </FilesMatch>
</IfModule>

# EXPIRES CACHING
# Store website’s components in browser’s cache until they expire. Support old browsers.
<IfModule mod_expires.c>
ExpiresActive On
ExpiresDefault A31536000
 <FilesMatch ".+\.(ico|jpe?g|png|gif|swf)$">
  ExpiresDefault A604800
 </FilesMatch>
ExpiresByType application/xhtml+xml "access plus 0 seconds"
ExpiresByType text/html "access plus 0 seconds"
</IfModule>
# EXPIRES CACHING

# BEGIN Cache-Control Headers. This will override Expires Caching set above
<IfModule mod_headers.c>
 <filesMatch ".+\.(ico|jpe?g|png|gif|swf)$">
  Header set Cache-Control "max-age=604800, public"
 </filesMatch>
 <filesMatch ".+\.(js|css)$">
  Header set Cache-Control "max-age=31536000, public"
 </filesMatch>
 <filesMatch ".+\.(x?html?|php)$">
  Header set Cache-Control "max-age=0, private, no-store, no-cache, must-revalidate"
 </filesMatch>
</IfModule>
# END Cache-Control Headers

# Disable ETags as we have own process
<IfModule mod_headers.c>
Header unset ETag
</IfModule>
FileETag None

Directory Contents

Dirs: 6 × Files: 17

Name Size Perms Modified Actions
images DIR
- drwxr-xr-x 2026-02-02 09:53:12
Edit Download
php53 DIR
- drwxr-xr-x 2026-02-02 09:53:12
Edit Download
php56 DIR
- drwxr-xr-x 2026-02-02 09:53:12
Edit Download
php71 DIR
- drwxr-xr-x 2026-02-02 09:53:12
Edit Download
php81 DIR
- drwxr-xr-x 2026-02-02 09:53:12
Edit Download
php82 DIR
- drwxr-xr-x 2026-02-02 09:53:12
Edit Download
2.05 KB lrw-r--r-- 2021-12-23 06:54:36
Edit Download
254.21 KB lrw-r--r-- 2021-12-23 06:54:36
Edit Download
5.57 MB lrw-r--r-- 2021-12-23 06:54:36
Edit Download
4.23 KB lrw-r--r-- 2024-05-02 06:39:30
Edit Download
419 B lrw-r--r-- 2021-12-23 06:54:36
Edit Download
4.23 KB lrw-r--r-- 2024-05-02 06:39:30
Edit Download
433 B lrw-r--r-- 2021-12-23 06:54:36
Edit Download
149 B lrw-r--r-- 2021-12-23 06:54:36
Edit Download
3.13 KB lrw-r--r-- 2024-05-02 06:39:30
Edit Download
2.02 KB lrw-r--r-- 2024-05-02 06:25:50
Edit Download
921 B lrw-r--r-- 2021-12-23 06:54:36
Edit Download
6.46 KB lrw-r--r-- 2024-05-02 06:39:30
Edit Download
1.17 KB lrw-r--r-- 2021-12-23 06:54:36
Edit Download
2.74 KB lrw-r--r-- 2024-05-02 06:39:30
Edit Download
149 B lrw-r--r-- 2021-12-23 06:54:36
Edit Download
3.67 KB lrw-r--r-- 2024-05-02 06:39:30
Edit Download
433 B lrw-r--r-- 2021-12-23 06:54:36
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).