OXIESEC PANEL
- Current Dir:
/
/
home
/
u116888525
/
domains
/
aretetesting.in
/
public_html
/
imc_testing
/
admin
Server IP: 82.112.239.19
Upload:
Create Dir:
Name
Size
Modified
Perms
📄
--htpasswd
48 bytes
10/11/2024 05:50:59 AM
rw-rw-rw-
📁
..
-
10/11/2024 05:53:15 AM
rwxr-xr-x
📄
.htaccess
131 bytes
10/11/2024 05:50:59 AM
rw-rw-rw-
📄
admin_filemanager.php
8.17 KB
10/11/2024 05:50:59 AM
rw-rw-rw-
📄
admin_footer.php
861 bytes
10/11/2024 05:50:59 AM
rw-rw-rw-
📄
admin_functions.php
2.15 KB
10/11/2024 05:50:59 AM
rw-rw-rw-
📄
admin_header.php
10.52 KB
10/11/2024 05:50:59 AM
rw-rw-rw-
📄
admin_login.php
3.59 KB
10/11/2024 05:50:59 AM
rw-rw-rw-
📄
admin_new.php
39.63 KB
10/11/2024 05:50:59 AM
rw-rw-rw-
📄
admin_tools.php
9.4 KB
10/11/2024 05:50:59 AM
rw-rw-rw-
📁
assetmanager
-
10/11/2024 05:50:59 AM
rwxr-xr-x
📁
bootstrap
-
10/11/2024 05:50:59 AM
rwxr-xr-x
📄
dblib.php
4.59 KB
10/11/2024 05:51:49 AM
rw-rw-rw-
📁
docs
-
10/11/2024 05:50:59 AM
rwxr-xr-x
📁
fontawesome-free
-
10/11/2024 05:50:59 AM
rwxr-xr-x
📄
func_lib.php
19.88 KB
10/11/2024 05:50:59 AM
rw-rw-rw-
📄
genmodfile.php
4.61 KB
10/11/2024 05:50:59 AM
rw-rw-rw-
📁
images
-
10/11/2024 05:50:59 AM
rwxr-xr-x
📄
index.php
909 bytes
10/11/2024 05:50:59 AM
rw-rw-rw-
📄
interstitial.php
562 bytes
10/11/2024 05:50:59 AM
rw-rw-rw-
📁
js
-
10/11/2024 05:50:59 AM
rwxr-xr-x
📄
mailtest.php
627 bytes
10/11/2024 05:50:59 AM
rw-rw-rw-
📁
photos
-
10/11/2024 05:50:59 AM
rwxr-xr-x
📄
save_to_excel.php
4.1 KB
10/11/2024 05:50:59 AM
rw-rw-rw-
📁
scripts
-
10/11/2024 05:50:59 AM
rwxr-xr-x
📄
setup_wizard.php
16.54 KB
10/11/2024 05:50:59 AM
rw-rw-rw-
📁
style
-
10/11/2024 05:50:59 AM
rwxr-xr-x
📁
themes
-
10/11/2024 05:50:59 AM
rwxr-xr-x
📄
upgrade.php
11.67 KB
10/11/2024 05:50:59 AM
rw-rw-rw-
📁
vendor1
-
10/11/2024 05:50:59 AM
rwxr-xr-x
Editing: genmodfile.php
Close
<?php session_start(); include('dblib.php'); include('func_lib.php'); include('admin_header.php'); $return_url = $_SESSION["return_url"]; $msg = "RewriteEngine on\n"; $msg .= "Options +FollowSymlinks\n\n"; $msg .= "Options -Indexes \n\n"; $msg .= "RewriteCond %{HTTPS} off [OR] \n"; $msg .= "RewriteCond %{HTTP_HOST} ^imcnet\.org$ [NC] \n"; $msg .= "RewriteRule ^ https://www.imcnet.org%{REQUEST_URI} [L,R=301] \n\n"; $msg .= "RewriteRule ^index.htm$ index.php\n"; $msg .= "errorDocument 404 /404.php\n\n"; # compress text, html, javascript, css, xml: /*$msg .="AddOutputFilterByType DEFLATE text/plain\n\n"; $msg .="AddOutputFilterByType DEFLATE text/html\n\n"; $msg .="AddOutputFilterByType DEFLATE text/xml\n\n"; $msg .="AddOutputFilterByType DEFLATE text/css\n\n"; $msg .="AddOutputFilterByType DEFLATE text/javascript\n\n"; $msg .="AddOutputFilterByType DEFLATE application/xml\n\n"; $msg .="AddOutputFilterByType DEFLATE application/xhtml+xml\n\n"; $msg .="AddOutputFilterByType DEFLATE application/rss+xml\n\n"; $msg .="AddOutputFilterByType DEFLATE application/javascript\n\n"; $msg .="AddOutputFilterByType DEFLATE application/x-javascript\n\n"; $msg .="AddOutputFilterByType DEFLATE image/jpeg\n\n"; $msg .= "AddType image/svg+xml svg svgz\n"; $msg .= "AddEncoding gzip svgz\n";*/ $msg .= "AddOutputFilterByType DEFLATE application/javascript\n\n"; $msg .= " AddOutputFilterByType DEFLATE application/rss+xml\n\n"; $msg .= " AddOutputFilterByType DEFLATE application/vnd.ms-fontobject\n\n"; $msg .= " AddOutputFilterByType DEFLATE application/x-font\n\n"; $msg .= " AddOutputFilterByType DEFLATE application/x-font-opentype\n\n"; $msg .= " AddOutputFilterByType DEFLATE application/x-font-otf\n\n"; $msg .= " AddOutputFilterByType DEFLATE application/x-font-truetype\n\n"; $msg .= " AddOutputFilterByType DEFLATE application/x-font-ttf\n\n"; $msg .= " AddOutputFilterByType DEFLATE application/x-javascript\n\n"; $msg .= " AddOutputFilterByType DEFLATE application/xhtml+xml\n\n"; $msg .= " AddOutputFilterByType DEFLATE application/xml\n\n"; $msg .= " AddOutputFilterByType DEFLATE font/opentype\n\n"; $msg .= "AddOutputFilterByType DEFLATE font/otf\n\n"; $msg .= " AddOutputFilterByType DEFLATE font/ttf\n\n"; $msg .= " AddOutputFilterByType DEFLATE image/svg+xml\n\n"; $msg .= " AddOutputFilterByType DEFLATE image/x-icon\n\n"; $msg .= " AddOutputFilterByType DEFLATE text/css\n\n"; $msg .= "AddOutputFilterByType DEFLATE text/html\n\n"; $msg .= " AddOutputFilterByType DEFLATE text/javascript\n\n"; $msg .= "AddOutputFilterByType DEFLATE text/plain\n\n"; $msg .= " AddOutputFilterByType DEFLATE text/xml\n\n"; $msg .= " AddType image/svg+xml svg svgz\n\n"; $msg .= "AddEncoding gzip svgz\n\n"; ## EXPIRES CACHING ## /*$msg .="<IfModule mod_expires.c>\n"; $msg .="ExpiresActive On\n"; $msg .="ExpiresByType image/jpg \"access plus 1 year\"\n"; $msg .="ExpiresByType image/jpeg \"access plus 1 year\"\n"; $msg .="ExpiresByType image/gif \"access plus 1 year\"\n"; $msg .="ExpiresByType image/png \"access plus 1 year\"\n"; $msg .="ExpiresByType text/css \"access plus 1 year\"\n"; $msg .="ExpiresByType text/javascript \"access plus 1 year\"\n"; $msg .="ExpiresByType application/pdf \"access plus 1 year\"\n"; $msg .="ExpiresByType text/x-javascript \"access plus 1 year\"\n"; $msg .="ExpiresByType application/x-shockwave-flash \"access plus 1 year\"\n"; $msg .="ExpiresByType image/x-icon \"access plus 1 year\"\n"; $msg .="ExpiresDefault \"access plus 1 year\"\n"; $msg .="</IfModule>\n";*/ ## EXPIRES CACHING ## //-----------query for content table---------------------------------- $sql = "select content_id, filename, map_url from content"; $qid = db_query($sql); $num = db_num_rows($qid); for ($i=0;$i<=$num-1;$i++) { $result = db_fetch_row($qid); $temp = str_replace(" ","",$result[1]); $temp = str_replace("%20","",$temp); if ($result[2] == "") { $msg .= "RewriteRule ^".trim($temp)."$ content.php?id=".$result[0]."\n"; } else { $msg .= "RewriteRule ^".trim($temp)."$ ".$result[2]."\n"; } } $msg .= "RewriteRule ^events-(.*)$ events.php?action=view_event&event_id=$1\n"; $msg .= "RewriteRule ^videos-(.*)$ video.php?action=view_more&event_id=$1\n"; $msg .= "RewriteRule ^venues-(.*)$ venues.php?action=view_venue&venue_id=$1\n"; $filename = "../.htaccess"; $file = fopen($filename,"w"); fwrite($file,$msg); fclose($file); $_SESSION['interstitial'] = "Content List Published"; echo "<script>\n"; echo "document.location = \"".$return_url."\"; \n"; echo "</script>\n"; include ('admin_footer.inc'); ?>