The forum is here for legacy reasons. No new posts will be created. User registration is disabled! If you have any questions, please email us or check https://www.adultscriptpro.com for more details!
You are not logged in.
Pages: 1
So i sat up my domain as m.pussylove.in and that works without problems.
If i access pussylove.in via mobile phone the script does redirect but it seems that it misses the correct url for the templates and so on.
I added 'mobile_url' => 'http://m.pussylove.in' to config.php
I changed the Nginx.conf and added this:
#############################################Mobile
server {
listen *:80;
#listen [::]:80 default_server ipv6only=on;
root /usr/share/nginx/html/mobile;
index index.php;
client_max_body_size 900M;
# Make site accessible from http://localhost/
server_name m.pussylove.in;
location / {
# First attempt to serve request as file, then
# as directory, then fall back to displaying a 404.
#try_files $uri $uri/ =404;
try_files $uri $uri/ /index.php?q=$uri&$args;
# Uncomment to enable naxsi on this location
# include /etc/nginx/naxsi.rules;
}
#error_page 404 /404.html;
# redirect server error pages to the static page /50x.html
#
#error_page 500 502 503 504 /50x.html;
#location = /50x.html {
# root /usr/share/nginx/html;
#}
# pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000
#
location ~ \.php$ {
fastcgi_split_path_info ^(.+\.php)(/.+)$;
# # NOTE: You should have "cgi.fix_pathinfo = 0;" in php.ini
#
# # With php5-cgi alone:
# fastcgi_pass 127.0.0.1:9000;
# # With php5-fpm:
fastcgi_pass unix:/var/run/php5-fpm.sock;
#fastcgi_index index.php;
include fastcgi_params;
fastcgi_read_timeout 600;
}
#############################################
location ~ \.flv$ {
secure_link $arg_st,$arg_e;
secure_link_md5 bla$uri$arg_e$remote_addr;
if ($secure_link = "") {
return 403;
}
if ($secure_link = "0") {
return 403;
}
flv;
}
location ~ \.mp4$ {
secure_link $arg_st,$arg_e;
secure_link_md5 bla$uri$arg_e$remote_addr;
if ($secure_link = "") {
return 403;
}
if ($secure_link = "0") {
return 403;
}
mp4;
mp4_buffer_size 1m;
mp4_max_buffer_size 5m;
}
#############################################
# deny access to .htaccess files, if Apache's document root
# concurs with nginx's one
#
#location ~ /\.ht {
# deny all;
#}
}
So: Accessing m.pussylove.in works
Accessing pussylove.in does not work
both via Android Mobile.
Offline
Yeah...in 1.0.10 from a mobile phone you cannot see the desktop version. Will add this feature in 1.0.11.
Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds
Offline
Sorry to hi-jack the thread but was this added in 1.0.11 Symtab?
Offline
Yes, if you use m.domain.com and domain.com for desktop, you can have links to mobile and desktop versions.
Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds
Offline
Pages: 1